1836件ヒット
[1-100件を表示]
(0.058秒)
種類
- インスタンスメソッド (1238)
- クラス (400)
- 特異メソッド (187)
- 定数 (11)
クラス
-
Net
:: HTTP (1018) -
Net
:: HTTPGenericRequest (33) -
Net
:: HTTPRequest (11) -
Net
:: HTTPResponse (99)
モジュール
-
Net
:: HTTPHeader (275)
キーワード
-
CODE
_ CLASS _ TO _ OBJ (11) - Delete (11)
- HTTPAlreadyReported (7)
- HTTPClientError (11)
- HTTPClientException (6)
- HTTPConflict (11)
- HTTPEarlyHints (6)
- HTTPExpectationFailed (11)
- HTTPFailedDependency (11)
- HTTPFatalError (11)
- HTTPInternalServerError (11)
- HTTPLengthRequired (11)
- HTTPLocked (11)
- HTTPLoopDetected (7)
- HTTPMethodNotAllowed (11)
- HTTPMovedPermanently (11)
- HTTPMovedTemporarily (11)
- HTTPMultiStatus (11)
- HTTPMultipleChoice (11)
- HTTPMultipleChoices (11)
- HTTPNotAcceptable (11)
- HTTPNotImplemented (11)
- HTTPPartialContent (11)
- HTTPPayloadTooLarge (6)
- HTTPPreconditionFailed (11)
- HTTPRangeNotSatisfiable (6)
- HTTPRequestEntityTooLarge (11)
- HTTPRequestHeaderFieldsTooLarge (11)
- HTTPRequestURITooLarge (11)
- HTTPRequestURITooLong (11)
- HTTPRequestedRangeNotSatisfiable (11)
- HTTPRetriableError (11)
- HTTPServiceUnavailable (11)
- HTTPSwitchProtocol (11)
- HTTPURITooLong (6)
- HTTPUnavailableForLegalReasons (8)
- HTTPUnprocessableEntity (11)
- HTTPVariantAlsoNegotiates (7)
- Lock (11)
- Mkcol (11)
- Proxy (11)
- Unlock (11)
- [] (11)
- []= (11)
- active? (11)
-
add
_ field (11) - body (11)
-
body
_ exist? (11) -
body
_ permitted? (11) -
ca
_ file (11) -
ca
_ file= (11) -
ca
_ path (11) -
canonical
_ each (11) - cert (11)
-
cert
_ store (11) - chunked? (11)
- ciphers (11)
-
close
_ on _ empty _ response (11) -
close
_ on _ empty _ response= (11) -
content
_ length (11) -
content
_ length= (11) -
content
_ range (11) -
content
_ type (11) -
continue
_ timeout (11) - copy (11)
-
default
_ port (11) - delete (22)
- each (11)
-
each
_ capitalized (11) -
each
_ capitalized _ name (11) -
each
_ header (11) -
each
_ value (11) - entity (11)
- fetch (11)
- get (22)
- get2 (22)
-
get
_ fields (11) -
get
_ response (11) - head (11)
- head2 (22)
- header (11)
-
http
_ default _ port (11) -
https
_ default _ port (11) -
is
_ version _ 1 _ 1? (11) -
keep
_ alive _ timeout (11) -
keep
_ alive _ timeout= (11) - key (11)
- key? (11)
- length (11)
-
local
_ host (11) -
local
_ host= (11) -
local
_ port (11) -
local
_ port= (11) - lock (11)
-
main
_ type (11) - mkcol (11)
- move (11)
- new (22)
-
open
_ timeout (11) - patch (22)
-
peer
_ cert (11) - post (22)
- post2 (22)
- proppatch (11)
- proxy? (11)
-
proxy
_ address (22) -
proxy
_ class? (11) -
proxy
_ from _ env= (11) -
proxy
_ from _ env? (11) -
proxy
_ pass (22) -
proxy
_ port (22) -
proxy
_ uri (11) -
proxy
_ user (22) - proxyaddr (11)
- proxyport (11)
- put (11)
- put2 (22)
- range (11)
-
range
_ length (11) -
read
_ body (11) -
read
_ timeout (11) -
reader
_ header (11) - request (22)
-
request
_ body _ permitted? (11) -
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
request
_ put (22) - response (11)
-
response
_ body _ permitted? (11) -
send
_ request (11) -
set
_ range (11) - size (11)
-
ssl
_ timeout (11) -
ssl
_ timeout= (11) -
ssl
_ version (11) -
ssl
_ version= (11) - start (33)
- started? (11)
-
sub
_ type (11) - trace (11)
- unlock (11)
-
use
_ ssl= (11) -
use
_ ssl? (11) - value (11)
-
verify
_ callback (11) -
verify
_ callback= (11) -
verify
_ mode (11) -
version
_ 1 _ 1? (11) -
write
_ timeout (6)
検索結果
先頭5件
-
Net
:: HTTPHeader # content _ length=(len) (6202.0) -
Content-Length: ヘッダフィールドに値を設定します。
...-Length: ヘッダフィールドに値を設定します。
len に nil を与えると Content-Length: ヘッダフィールドを
削除します。
@param len 設定する値を整数で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html......')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_length # => nil
req.content_length = 10 # => 10
req.content_length # => 10
//}... -
Net
:: HTTPHeader # each _ value {|value| . . . . } -> () (6202.0) -
保持しているヘッダの値をブロックに渡し、呼びだします。
...れる文字列は ", " で連結したものです。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.each_value { |value| puts value }
# => gzip;q=1.0,deflate;q=0.6,identity;q=0.3
# => */*
# => Ruby
//}... -
Net
:: HTTP # ca _ file -> String | nil (6102.0) -
信頼する CA 証明書ファイルのパスを返します。
...信頼する CA 証明書ファイルのパスを返します。
@see Net::HTTP#ca_file=, OpenSSL::SSL::SSLContext#ca_file... -
Net
:: HTTP # ca _ file=(path) (6102.0) -
信頼する CA 証明書ファイルのパスを文字列で設定します。
...ファイルには複数の証明書を含んでいても構いません。
詳しくは OpenSSL::SSL::SSLContext#ca_file= を見てください。
デフォルトは nil (指定なし)です。
@param path ファイルパス文字列
@see Net::HTTP#ca_file, OpenSSL::SSL::SSLContext#ca_file=... -
Net
:: HTTP # close _ on _ empty _ response -> bool (6102.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを返します。
...レスポンスがボディを持っていない場合にコネクションを
閉じるかどうかを返します。
デフォルトでは偽(閉じない)です。
@see Net::HTTP#close_on_empty_response=... -
Net
:: HTTP # close _ on _ empty _ response=(bool) (6102.0) -
レスポンスがボディを持っていない場合にコネクションを 閉じるかどうかを設定します。
...ンスがボディを持っていない場合にコネクションを
閉じるかどうかを設定します。
@param bool レスポンスがボディを持っていない場合にコネクションを
閉じるかどうか指定します。
@see Net::HTTP#close_on_empty_response... -
Net
:: HTTP # delete(path , initheader = nil) -> Net :: HTTPResponse (6102.0) -
サーバの path に DELETE リクエストを ヘッダを initheader として送ります。
...サーバの path に DELETE リクエストを
ヘッダを initheader として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param initheader リクエストのヘッダを......「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Delete... -
Net
:: HTTP # keep _ alive _ timeout -> Integer (6102.0) -
以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を 返します。
...以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を
返します。
デフォルトは2(秒)です。
@see Net::HTTP#keep_alive_timeout=... -
Net
:: HTTP # keep _ alive _ timeout=(seconds) (6102.0) -
以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を 設定します。
...ョンの再利用(keep-alive)を許可する秒数を
設定します。
この秒数以内に同じホストに次のリクエストを送った場合、
ソケットを再利用します。
デフォルトは2(秒)です。これは一般的にサーバ側の keep-alive の秒数
が2秒であ......る場合が多いからです。
@see Net::HTTP#keep_alive_timeout... -
Net
:: HTTP # local _ host -> String | nil (6102.0) -
接続に用いるローカルホスト名を返します。
...接続に用いるローカルホスト名を返します。
nil の場合システムが適当にローカルホストを
決めます。
デフォルトは nil です。
@see Net::HTTP#local_host=, Net::HTTP#local_port...