るりまサーチ

最速Rubyリファレンスマニュアル検索!
77件ヒット [1-77件を表示] (0.017秒)

別のキーワード

  1. response new
  2. net/http response
  3. http get_response
  4. imap add_response_handler
  5. net/http get_response

ライブラリ

キーワード

検索結果

OpenSSL::OCSP::Response.create(status, basic_resp) -> OpenSSL::OCSP::Response (21224.0)

Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト から生成します。

...Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト
から生成します。


@param status ステータスコード(整数)
@param basic_resp OpenSSL::OCSP::BasicResponse オブジェクト
@see OpenSSL::OCSP::Response.new...

Net::IMAP#create(mailbox) -> Net::IMAP::TaggedResponse (18217.0)

CREATE コマンドを送り、新しいメールボックスを作ります。

...CREATE コマンドを送り、新しいメールボックスを作ります。

@param mailbox 新しいメールボックスの名前(文字列)
@raise Net::IMAP::NoResponseError 指定した名前のメールボックスが作れなかった場合に発生します...

OpenSSL::OCSP::Response.new -> OpenSSL::OCSP::Response (3130.0)

Response オブジェクトを生成します。

...Response オブジェクトを生成します。

DER 形式の文字列を渡した場合はその内容を
ロードします。引数なしの場合は空のオブジェクトを返します。

@param der DER 形式の文字列
@see OpenSSL::OCSP::Response.create...

OpenSSL::OCSP::Response.new(der) -> OpenSSL::OCSP::Response (3130.0)

Response オブジェクトを生成します。

...Response オブジェクトを生成します。

DER 形式の文字列を渡した場合はその内容を
ロードします。引数なしの場合は空のオブジェクトを返します。

@param der DER 形式の文字列
@see OpenSSL::OCSP::Response.create...

OpenSSL::OCSP::BasicResponse.new -> OpenSSL::OCSP::BasicResponse (3112.0)

空の BasicResponse オブジェクトを生成します。

...空の BasicResponse オブジェクトを生成します。

@see OpenSSL::OCSP::Response.create...

絞り込み条件を変える

NEWS for Ruby 3.0.0 (18.0)

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

...16233
* Changed default for Encoding.default_external to UTF-8 on Windows 16604
* Fiber
* Fiber.new(blocking: true/false) allows you to create non-blocking execution contexts. 16786
* Fiber#blocking? tells whether the fiber is non-blocking. 16786
* Fiber#backtrace and Fiber#backt...
...en using a scheduler. 16792
* Proc
* Proc#== and Proc#eql? are now defined and will return true for separate Proc instances if the procs were created from the same block. 14267
* Queue / SizedQueue
* Queue#pop, SizedQueue#push and related methods may now invoke the `block`/`unblock` sche...
...Net::HTTP#verify_hostname= and Net::HTTP#verify_hostname have been added to skip hostname verification. 16555
* Net::HTTP.get, Net::HTTP.get_response, and Net::HTTP.get_print can take the request headers as a Hash in the second argument when the first argument is a URI. 16686
* Net::SMTP...

net/imap (18.0)

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

...com')
imap.authenticate('LOGIN', 'joe_user', 'joes_password')
imap.select('Mail/sent-mail')
if not imap.list('Mail/', 'sent-apr03')
imap.create('Mail/sent-apr03')
end
imap.search(["BEFORE", "30-Apr-2003", "SINCE", "1-Apr-2003"]).each do |message_id|
imap.copy(message_id, "Mail/sent...
...バがタイムアウトする場合に発生します。

これらのエラーはそれぞれ
* Net::IMAP::NoResponseError
* Net::IMAP::BadResponseError
* Net::IMAP::ByeResponseError
という例外クラスに対応しています。
原理的には、これらの例外はサーバにコマ...
...れると Errno::EPIPE 例外が
発生します。詳しくは Socket などを見てください。

Net::IMAP::DataFormatError、
Net::IMAP::ResponseParseError という例外クラスも
存在します。前者はデータのフォーマットが正しくない場合に、
後者はサーバか...