1045件ヒット
[1001-1045件を表示]
(0.124秒)
ライブラリ
- ビルトイン (15)
-
net
/ http (228) -
net
/ imap (166) -
net
/ smtp (12) - openssl (60)
-
rubygems
/ remote _ fetcher (12) -
rubygems
/ server (72) -
webrick
/ httpauth / basicauth (24) -
webrick
/ httpauth / digestauth (24) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (156) -
webrick
/ httpserver (24) -
webrick
/ httpservlet / abstract (84) -
webrick
/ httpservlet / cgihandler (24) -
webrick
/ httpservlet / erbhandler (24) -
webrick
/ httpservlet / filehandler (84) -
webrick
/ httpservlet / prochandler (24)
クラス
-
Gem
:: RemoteFetcher (12) -
Gem
:: Server (72) -
Net
:: HTTP (180) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (12) -
Net
:: IMAP (106) -
Net
:: IMAP :: ContinuationRequest (12) -
Net
:: IMAP :: ResponseError (12) -
Net
:: IMAP :: UntaggedResponse (36) -
Net
:: SMTP (12) - Object (15)
-
OpenSSL
:: OCSP :: BasicResponse (36) -
OpenSSL
:: OCSP :: Response (24) -
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPAuth :: DigestAuth (24) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (156) -
WEBrick
:: HTTPServer (24) -
WEBrick
:: HTTPServlet :: AbstractServlet (84) -
WEBrick
:: HTTPServlet :: CGIHandler (24) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (36) -
WEBrick
:: HTTPServlet :: ERBHandler (24) -
WEBrick
:: HTTPServlet :: FileHandler (48) -
WEBrick
:: HTTPServlet :: ProcHandler (24)
モジュール
-
Net
:: HTTPHeader (12)
キーワード
- Marshal (12)
-
add
_ status (12) - authenticate (36)
-
body
_ exist? (12) - challenge (24)
- chunked= (12)
- chunked? (12)
- continue (12)
-
copy
_ nonce (12) - data (24)
-
do
_ DELETE (12) -
do
_ GET (72) -
do
_ HEAD (12) -
do
_ OPTIONS (24) -
do
_ POST (60) -
do
_ PUT (12) - greeting (12)
-
latest
_ specs (12) - login (12)
- logout (12)
-
make
_ partial _ content (12) -
mount
_ proc (24) - name (12)
-
not
_ modified? (12) - put (12)
- put2 (24)
- quick (12)
- quit (12)
-
raw
_ data (12) - request (36)
-
request
_ get (24) -
request
_ head (24) -
request
_ http _ version (12) -
request
_ http _ version= (12) -
request
_ method (12) -
request
_ method= (12) -
request
_ post (24) -
request
_ put (24) -
request
_ uri (12) -
request
_ uri= (12) -
response
_ body _ permitted? (12) - root (12)
-
send
_ request (12) - service (24)
-
set
_ error (12) -
set
_ redirect (12) - setquota (12)
- specs (12)
- status (36)
- status= (12)
-
status
_ line (12) -
status
_ string (12) -
sub
_ type (12) - subscribe (12)
- then (7)
-
uid
_ copy (12) -
uid
_ move (10) - unlock (12)
- unsubscribe (12)
- value (12)
- yaml (12)
-
yield
_ self (8)
検索結果
先頭5件
-
WEBrick
:: HTTPServlet :: FileHandler # service(request , response) -> () (208.0) -
リクエストメソッドに応じて自身の do_* メソッドを呼び出します。
...ます。
@param request クライアントからのリクエストを表す WEBrick::HTTPRequest オブジェクトです。
@param response クライアントへのレスポンスを表す WEBrick::HTTPResponse オブジェクトです。
@raise WEBrick::HTTPStatus::NotFound 対象となるパ... -
Net
:: IMAP # greeting -> Net :: IMAP :: UntaggedResponse (201.0) -
サーバから最初に送られてくるメッセージ(greeting message) を返します。
サーバから最初に送られてくるメッセージ(greeting message)
を返します。 -
Net
:: IMAP # login(user , password) -> Net :: IMAP :: TaggedResponse (201.0) -
LOGIN コマンドを送り、平文でパスワードを送りクライアント ユーザを認証します。
...authenticate で "LOGIN" を使うのとは異なる
ことに注意してください。authenticate では AUTHENTICATE コマンドを
送ります。
認証成功時には
認証成功レスポンスを返り値として返します。
認証失敗時には例外が発生します。
@param u......ser ユーザ名文字列
@param password パスワード文字列
@raise Net::IMAP::NoResponseError 認証に失敗した場合に発生します
@see Net::IMAP#authenticate... -
Object
# then -> Enumerator (113.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
...uby]{
3.next.then {|x| x**x }.to_s # => "256"
"my string".yield_self {|s| s.upcase } # => "MY STRING"
//}
値をメソッドチェインのパイプラインに次々と渡すのは良い使い方です。
//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-u......ri'
require 'json'
construct_url(arguments).
yield_self {|url| URI(url).read }.
yield_self {|response| JSON.parse(response) }
//}
ブロックなしで呼び出されたときは Enumerator を返します。
例えば条件によって値を捨てるのに使えます。
//emlist[][ruby]{
#... -
Object
# yield _ self -> Enumerator (113.0) -
self を引数としてブロックを評価し、ブロックの結果を返します。
...uby]{
"my string".yield_self {|s| s.upcase } # => "MY STRING"
3.next.yield_self {|x| x**x }.to_s # => "256"
//}
値をメソッドチェインのパイプラインに次々と渡すのは良い使い方です。
//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-u......ri'
require 'json'
construct_url(arguments).
yield_self {|url| URI(url).read }.
yield_self {|response| JSON.parse(response) }
//}
ブロックなしで呼び出されたときは Enumerator を返します。
例えば条件によって値を捨てるのに使えます。
//emlist[][ruby]{
#......uby]{
3.next.then {|x| x**x }.to_s # => "256"
"my string".yield_self {|s| s.upcase } # => "MY STRING"
//}
値をメソッドチェインのパイプラインに次々と渡すのは良い使い方です。
//emlist[メソッドチェインのパイプライン][ruby]{
require 'open-u...