88件ヒット
[1-88件を表示]
(0.129秒)
種類
- インスタンスメソッド (66)
- 特異メソッド (22)
ライブラリ
-
net
/ http (44) - open-uri (22)
-
webrick
/ https (22)
クラス
-
Net
:: HTTP (44) -
WEBrick
:: HTTPRequest (22)
モジュール
- OpenURI (22)
キーワード
- cert= (11)
-
cert
_ store (11) -
client
_ cert (11) -
open
_ uri (22) -
peer
_ cert (11) -
server
_ cert (11)
検索結果
先頭5件
-
Net
:: HTTP # cert -> OpenSSL :: X509 :: Certificate | nil (21319.0) -
クライアント証明書を返します。
...クライアント証明書を返します。
@see Net::HTTP#cert=, OpenSSL::SSL::SSLContext#cert... -
WEBrick
:: HTTPRequest # client _ cert -> OpenSSL :: X509 :: Certificate (15301.0) -
クライアント証明書を表すオブジェクトを返します。
...クライアント証明書を表すオブジェクトを返します。
@see OpenSSL::X509::Certificate... -
WEBrick
:: HTTPRequest # server _ cert -> OpenSSL :: X509 :: Certificate (12301.0) -
サーバ証明書を表すオブジェクトを返します。
...サーバ証明書を表すオブジェクトを返します。
@see OpenSSL::X509::Certificate... -
Net
:: HTTP # cert=(certificate) (9319.0) -
クライアント証明書を設定します。
...クライアント証明書を設定します。
デフォルトは nil (クライアント証明書による認証をしない)です。
@param certificate 証明書オブジェクト(OpenSSL::X509::Certificate)
@see Net::HTTP#cert, OpenSSL::SSL::SSLContext#cert=... -
Net
:: HTTP # peer _ cert -> OpenSSL :: X509 :: Certificate | nil (9307.0) -
サーバの証明書を返します。
...サーバの証明書を返します。
SSL/TLS が有効でなかったり、接続前である場合には nil
を返します。
@see OpenSSL::SSL::SSLSocket#peer_cert... -
Net
:: HTTP # cert _ store -> OpenSSL :: X509 :: Store | nil (9219.0) -
接続相手の証明書の検証のために使う、信頼している CA 証明書を 含む証明書ストアを返します。
...接続相手の証明書の検証のために使う、信頼している CA 証明書を
含む証明書ストアを返します。
@see Net::HTTP#cert_store, OpenSSL::SSL::SSLContext#cert_store=... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (6250.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...URI である文字列 name のリソースを取得して StringIO オブジェクト
として返します。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返......します。
require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read
OpenURI.open_uri('http://www.example.com'){|sio| sio.read }
options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
*......* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定しています。
require '... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (6250.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...URI である文字列 name のリソースを取得して StringIO オブジェクト
として返します。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返......します。
require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read
OpenURI.open_uri('http://www.example.com'){|sio| sio.read }
options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
*......* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定しています。
require '...