44件ヒット
[1-44件を表示]
(0.021秒)
トップページ > :responses
種類
- インスタンスメソッド (22)
- ライブラリ (11)
- 文書 (11)
ライブラリ
-
net
/ imap (22)
クラス
-
Net
:: IMAP (22)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (11) -
net
/ imap (11) - select (11)
検索結果
先頭4件
-
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...