るりまサーチ

最速Rubyリファレンスマニュアル検索!
44件ヒット [1-44件を表示] (0.021秒)
トップページ > クエリ:responses[x]

別のキーワード

  1. imap responses
  2. net/imap responses
  3. responses net/imap
  4. responses net::imap

ライブラリ

クラス

キーワード

検索結果

Net::IMAP#responses -> { String => [object] } (18113.0)

サーバから送られてきた untagged な応答の記録を返します。

...なります。
そして各種類ごとに配列が用意され、untagged な応答を受信するたびに
その配列の末尾にその内容が記録されます。


例:
imap.select("inbox")
p imap.responses["EXISTS"].last
#=> 2
p imap.responses["UIDVALIDITY"].last
#=> 968263756...

Net::IMAP#select(mailbox) -> Net::IMAP::TaggedResponse (12.0)

SELECT コマンドを送り、指定したメールボックスを処理対象の メールボックスにします。

...elected」になります。

このコマンドを実行した直後に Net::IMAP#responses["EXISTS"].last
を調べると、メールボックス内のメールの数がわかります。
また、Net::IMAP#responses["RECENT"].lastで、
最新のメールの数がわかります。
これらの...

NEWS for Ruby 2.0.0 (6.0)

NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...may be created from a URI which sets the request_uri and host
header of the request (but does not change the host connected to).
* Responses contain the URI requested which allows easier implementation of
redirect following.
* 追加: Net::HTTP#local_host
* 追加: Net...

net/imap (6.0)

このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。

...マンドの送信とは非同期的にサーバから送られるため、
Net::IMAP オブジェクトはユーザのためこれを
Net::IMAP#responses に記録しておきます。

=== References

* [IMAP]
M. Crispin, "INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1",
RFC 2060, Dece...