242件ヒット
[1-100件を表示]
(0.155秒)
ライブラリ
- ビルトイン (110)
- json (11)
-
net
/ http (33) - openssl (11)
- rss (33)
-
rubygems
/ package / tar _ reader / entry (11) -
webrick
/ httpresponse (22) - zlib (11)
クラス
-
ARGF
. class (11) - Array (66)
-
Gem
:: Package :: TarReader :: Entry (11) - IO (11)
-
JSON
:: State (11) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure (11) -
RSS
:: Rss :: Channel :: Item :: Enclosure (22) - Thread (22)
-
WEBrick
:: HTTPResponse (22) -
Zlib
:: GzipReader (11)
モジュール
-
Net
:: HTTPHeader (33) -
OpenSSL
:: Buffering (11)
キーワード
-
backtrace
_ locations (22) -
buffer
_ initial _ length= (11) -
content
_ length (22) -
content
_ length= (22) - delete (11)
- fill (66)
- length (11)
- read (55)
検索結果
先頭5件
-
RSS
:: Rss :: Channel :: Item :: Enclosure # length= (21202.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Enclosure # length=() (21201.0) -
@todo
@todo -
Net
:: HTTPHeader # content _ length=(len) (12307.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
//}... -
JSON
:: State # buffer _ initial _ length=(length) (12201.0) -
This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.
...This sets the initial length of the buffer to length, if length > 0,
otherwise its value isn't changed.... -
WEBrick
:: HTTPResponse # content _ length=(len) (9307.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......ブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボディとします。nil でないとき IO から content_length バイトだけ読み込みそれを.......4 で定められた Content-Length ヘッダを送ってはいけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの値を整数で指定します。nil を指定することは出... -
Thread
# backtrace _ locations(range) -> [Thread :: Backtrace :: Location] | nil (6202.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...ースを Thread::Backtrace::Location の配
列で返します。
引数で指定した値が範囲外の場合、スレッドがすでに終了している場合は nil
を返します。
@param start 開始フレームの位置を数値で指定します。
@param length 取得するフレー......ます。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locations # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <main>'"]
/....../}
@see Thread::Backtrace::Location... -
Thread
# backtrace _ locations(start = 0 , length = nil) -> [Thread :: Backtrace :: Location] | nil (6202.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...ースを Thread::Backtrace::Location の配
列で返します。
引数で指定した値が範囲外の場合、スレッドがすでに終了している場合は nil
を返します。
@param start 開始フレームの位置を数値で指定します。
@param length 取得するフレー......ます。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locations # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <main>'"]
/....../}
@see Thread::Backtrace::Location... -
Net
:: HTTPHeader # content _ length -> Integer|nil (6107.0) -
Content-Length: ヘッダフィールドの表している値を整数で返します。
...t-Length: ヘッダフィールドの表している値を整数で返します。
ヘッダが設定されていない場合には nil を返します。
@raise Net::HTTPHeaderSyntaxError フィールドの値が不正である場合に
発生します。
//emli......st[例][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
:: HTTPHeader # delete(key) -> [String] | nil (6107.0) -
key ヘッダフィールドを削除します。
...は
nil を返します。
//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 = 10
req.content_length # => 10
req.delete("Content-Length") # => ["10"]
req.content_length # => nil
//}... -
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (6107.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......ブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダはレスポンスに含まれず、IO から全てを読み込ん
でそれをエンティティボディとします。nil でないとき IO から content_length バイトだけ読み込みそれを.......4 で定められた Content-Length ヘッダを送ってはいけない場合に当てはまる時には
content_length の値は無視され Content-Length ヘッダはレスポンスに含まれません。
@param len ヘッダの値を整数で指定します。nil を指定することは出...