99件ヒット
[1-99件を表示]
(0.222秒)
ライブラリ
- json (55)
-
net
/ http (11) - openssl (11)
-
rexml
/ parsers / pullparser (11) -
rubygems
/ remote _ fetcher (11)
クラス
-
Gem
:: RemoteFetcher (11) -
JSON
:: State (55) -
Net
:: HTTP (11) -
OpenSSL
:: SSL :: SSLContext (11) -
REXML
:: Parsers :: PullParser (11)
キーワード
- depth= (11)
-
max
_ nesting= (11) -
open
_ uri _ or _ path (11) - peek (11)
- propfind (11)
-
set
_ params (11) -
to
_ h (11) -
to
_ hash (11)
検索結果
先頭5件
-
JSON
:: State # depth -> Integer (24218.0) -
This integer returns the current depth of data structure nesting.
...This integer returns the current depth of data structure nesting.... -
Gem
:: RemoteFetcher # open _ uri _ or _ path(uri , last _ modified = nil , head = false , depth = 0) -> StringIO | File (12320.0) -
@param uri URI を指定します。
...@param uri URI を指定します。
@param last_modified 最終更新時刻を指定します。
@param head 真を指定するとヘッダ情報のみ取得します。
@param depth 現在のリダイレクト回数を指定します。
@raise Gem::RemoteFetcher::FetchError デフォルトで......は 11 回リダイレクトした場合に発生します。
depth を指定すると 10 - depth 回より多くリダイレクトした場合にこの例外が発生するようになります。
また HTTP のレスポンスが想定外のものの場合にも発生します。... -
JSON
:: State # max _ nesting=(depth) (12302.0) -
生成される JSON 形式の文字列のネストの深さの最大値をセットします。
...れる JSON 形式の文字列のネストの深さの最大値をセットします。
この値にゼロをセットすると、ネストの深さのチェックを行いません。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(max_nesting: 2)
json_state.max_nesting......# => 2
JSON.generate([[]], json_state)
json_state.max_nesting = 3
json_state.max_nesting # => 3
JSON.generate([[[[]]]], json_state) # => JSON::NestingError
//}... -
JSON
:: State # depth=(depth) (12219.0) -
This sets the maximum level of data structure nesting in the generated JSON to the integer depth, max_nesting = 0 if no maximum should be checked.
...This sets the maximum level of data structure nesting in the generated
JSON to the integer depth, max_nesting = 0 if no maximum should be
checked.... -
OpenSSL
:: SSL :: SSLContext # set _ params(params) -> Hash (9213.0) -
パラメータをハッシュで設定します。
...(OpenSSL::SSL::SSLContext#cert=)
* :key (OpenSSL::SSL::SSLContext#key=)
* :client_ca (OpenSSL::SSL::SSLContext#client_ca=)
* :ca_file (OpenSSL::SSL::SSLContext#ca_file=)
* :ca_path (OpenSSL::SSL::SSLContext#ca_path=)
* :timeout (OpenSSL::SSL::SSLContext#timeout=)
* :verify_mode (OpenSSL:......SSLContext#verify_mode=)
* :verify_depth (OpenSSL::SSL::SSLContext#verify_depth=)
* :verify_callback (OpenSSL::SSL::SSLContext#verify_callback=)
* :options (OpenSSL::SSL::SSLContext#options=)
* :cert_store (OpenSSL::SSL::SSLContext#cert_store=)
* :extra_chain_cert (OpenSSL::SSL::SSLContext......#extra_chain_cert=)
* :client_cert_cb (OpenSSL::SSL::SSLContext#client_cert_cb=)
* :tmp_dh_callback (OpenSSL::SSL::SSLContext#tmp_dh_callback=)
* :session_id_context (OpenSSL::SSL::SSLContext#session_id_context=)
* :session_get_cb (OpenSSL::SSL::SSLContext#session_get_cb=)
* :session_new_c... -
JSON
:: State # to _ hash -> Hash (9207.0) -
自身をハッシュに変換します。
...e "json"
require "pp"
json_state = JSON::State.new
pp json_state.to_h
# => {:indent=>"",
# :space=>"",
# :space_before=>"",
# :object_nl=>"",
# :array_nl=>"",
# :allow_nan=>false,
# :ascii_only=>false,
# :max_nesting=>100,
# :depth=>0,
# :buffer_initial_length=>... -
REXML
:: Parsers :: PullParser # peek(depth = 0) -> REXML :: Parsers :: PullEvent | nil (6336.0) -
イベントキューの先頭から depth 番目のイベントを取り出します。
...イベントキューの先頭から depth 番目のイベントを取り出します。
一番先頭のイベントは 0 で表します。
このメソッドでは列そのものの状態は変化しません。
先頭から depth 番目のイベントが存在しない(XML文書の末尾の......先を見ようとした場合)は nil を返します。
@param depth 先頭から depth 番目のイベントを取り出します
@raise REXML::ParseException XML文書のパースに失敗した場合に発生します
@raise REXML::UndefinedNamespaceException XML文書のパース中に、定... -
Net
:: HTTP # propfind(path , body , initheader = {& # 39;Depth& # 39; => & # 39;0& # 39;}) -> Net :: HTTPResponse (6302.0) -
サーバの path に PROPFIND リクエストを ヘッダを initheader, ボディを body として送ります。
...サーバの path に PROPFIND リクエストを
ヘッダを initheader, ボディを body として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param body リクエスト......のボディを文字列で与えます。
@param initheader リクエストのヘッダを「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Propfind... -
JSON
:: State # to _ h -> Hash (6107.0) -
自身をハッシュに変換します。
...e "json"
require "pp"
json_state = JSON::State.new
pp json_state.to_h
# => {:indent=>"",
# :space=>"",
# :space_before=>"",
# :object_nl=>"",
# :array_nl=>"",
# :allow_nan=>false,
# :ascii_only=>false,
# :max_nesting=>100,
# :depth=>0,
# :buffer_initial_length=>...