168件ヒット
[101-168件を表示]
(0.187秒)
ライブラリ
- json (60)
-
net
/ http (36) - openssl (48)
-
rexml
/ parsers / pullparser (12) -
rubygems
/ remote _ fetcher (12)
クラス
-
Gem
:: RemoteFetcher (12) -
JSON
:: State (60) -
Net
:: HTTP (36) -
OpenSSL
:: SSL :: SSLContext (36) -
OpenSSL
:: X509 :: StoreContext (12) -
REXML
:: Parsers :: PullParser (12)
キーワード
- depth= (12)
-
error
_ depth (12) -
max
_ nesting= (12) -
open
_ uri _ or _ path (12) - peek (12)
- propfind (12)
-
set
_ params (12) -
to
_ h (12) -
to
_ hash (12) -
verify
_ depth (24) -
verify
_ depth= (24)
検索結果
先頭5件
-
REXML
:: Parsers :: PullParser # peek(depth = 0) -> REXML :: Parsers :: PullEvent | nil (6236.0) -
イベントキューの先頭から depth 番目のイベントを取り出します。
...イベントキューの先頭から depth 番目のイベントを取り出します。
一番先頭のイベントは 0 で表します。
このメソッドでは列そのものの状態は変化しません。
先頭から depth 番目のイベントが存在しない(XML文書の末尾の......とした場合)は nil を返します。
@param depth 先頭から depth 番目のイベントを取り出します
@raise REXML::ParseException XML文書のパースに失敗した場合に発生します
@raise REXML::UndefinedNamespaceException XML文書のパース中に、定義されてい... -
JSON
:: State # max _ nesting=(depth) (6202.0) -
生成される 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
//}... -
OpenSSL
:: SSL :: SSLContext # set _ params(params) -> Hash (6113.0) -
パラメータをハッシュで設定します。
...cert (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 (Ope......ontext#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#ext......in_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_cb (OpenSSL... -
Net
:: HTTP # propfind(path , body , initheader = {& # 39;Depth& # 39; => & # 39;0& # 39;}) -> Net :: HTTPResponse (3202.0) -
サーバの path に PROPFIND リクエストを ヘッダを initheader, ボディを body として送ります。
...initheader, ボディを body として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param body リクエストのボディを文字列で与えます。
@param initheader リ......クエストのヘッダを「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Propfind... -
JSON
:: State # to _ h -> Hash (3007.0) -
自身をハッシュに変換します。
...//emlist[例][ruby]{
require "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=>1024}
//}... -
JSON
:: State # to _ hash -> Hash (3007.0) -
自身をハッシュに変換します。
...//emlist[例][ruby]{
require "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=>1024}
//}...