180件ヒット
[1-100件を表示]
(0.079秒)
クラス
-
Net
:: HTTP (132)
モジュール
-
Net
:: HTTPHeader (48)
キーワード
-
content
_ length (12) -
continue
_ timeout (12) -
keep
_ alive _ timeout (12) - length (12)
-
local
_ port (12) -
open
_ timeout (12) - port (12)
-
proxy
_ port (12) - proxyport (12)
-
range
_ length (12) -
read
_ timeout (12) - size (12)
-
ssl
_ timeout (12) -
verify
_ depth (12) -
verify
_ mode (12)
検索結果
先頭5件
-
Net
:: HTTP # continue _ timeout -> Integer | nil (9304.0) -
「100 Continue」レスポンスを待つ秒数を返します。
...「100 Continue」レスポンスを待つ秒数を返します。
この秒数待ってもレスポンスが来ない場合は
リクエストボディを送信します。
デフォルトは nil (待たない)です。
@see Net::HTTP#continue_timeout=... -
Net
:: HTTPHeader # content _ length -> Integer|nil (6304.0) -
Content-Length: ヘッダフィールドの表している値を整数で返します。
...Content-Length: ヘッダフィールドの表している値を整数で返します。
ヘッダが設定されていない場合には nil を返します。
@raise Net::HTTPHeaderSyntaxError フィールドの値が不正である場合に
発生します。......//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
req.content_length # => 10
//}... -
Net
:: HTTP # proxy _ port -> Integer|nil (6205.0) -
プロクシのポート番号を返します。
...プロクシのポート番号を返します。
プロクシを使わない場合は nil を返します。
proxyport は時代遅れのメソッドです。
@see Net::HTTP#proxy_port=, Net::HTTP#proxy_address, Net::HTTP.new... -
Net
:: HTTP # proxyport -> Integer|nil (6205.0) -
プロクシのポート番号を返します。
...プロクシのポート番号を返します。
プロクシを使わない場合は nil を返します。
proxyport は時代遅れのメソッドです。
@see Net::HTTP#proxy_port=, Net::HTTP#proxy_address, Net::HTTP.new... -
Net
:: HTTPHeader # length -> Integer (6205.0) -
このメソッドは obsolete です。
...このメソッドは obsolete です。
ヘッダフィールドの数を返します。... -
Net
:: HTTP # keep _ alive _ timeout -> Integer (6204.0) -
以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を 返します。
...以前のリクエストで使ったコネクションの再利用(keep-alive)を許可する秒数を
返します。
デフォルトは2(秒)です。
@see Net::HTTP#keep_alive_timeout=... -
Net
:: HTTP # local _ port -> nil | Integer | String (6204.0) -
接続に用いるローカルポートを返します。
...接続に用いるローカルポートを返します。
nil の場合システムが適当にローカルポートを
決めます。
デフォルトは nil です。
@see Net::HTTP#local_port=, Net::HTTP#local_host... -
Net
:: HTTP # open _ timeout -> Integer|nil (6204.0) -
接続時に待つ最大秒数を返します。
...接続時に待つ最大秒数を返します。
この秒数たってもコネクションが
開かなければ例外 Net::OpenTimeout を発生します。
デフォルトは 60 (秒)です。
@see Net::HTTP#read_timeout, Net::HTTP#open_timeout=... -
Net
:: HTTP # port -> Integer (6204.0) -
接続するポート番号を返します。
接続するポート番号を返します。