別のキーワード
ライブラリ
- open-uri (24)
- openssl (24)
- readline (72)
- socket (24)
-
webrick
/ httpauth / basicauth (24) -
webrick
/ httpproxy (12) -
webrick
/ log (12)
クラス
- BasicSocket (24)
-
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: OCSP :: Response (12) -
WEBrick
:: BasicLog (12) -
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPProxyServer (12)
キーワード
-
basic
_ quote _ characters (12) -
basic
_ quote _ characters= (12) -
basic
_ word _ break _ characters (12) -
basic
_ word _ break _ characters= (12) -
completer
_ word _ break _ characters (12) -
completer
_ word _ break _ characters= (12) - create (12)
-
do
_ not _ reverse _ lookup= (12) -
for
_ fd (12) -
make
_ passwd (12) - new (48)
-
open
_ uri (24)
検索結果
先頭5件
- WEBrick
:: HTTPAuth :: BasicAuth . make _ passwd(realm , user , pass) -> String - BasicSocket
. do _ not _ reverse _ lookup=(bool) - OpenSSL
:: OCSP :: Response . create(status , basic _ resp) -> OpenSSL :: OCSP :: Response - OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO - OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil
-
WEBrick
:: HTTPAuth :: BasicAuth . make _ passwd(realm , user , pass) -> String (3019.0) -
pass をランダムなソルトで crypt した文字列を返します。
...pass をランダムなソルトで crypt した文字列を返します。
@param realm レルムを指定します。
@param user ユーザ名を指定します。
@param pass パスワードを指定します。... -
BasicSocket
. do _ not _ reverse _ lookup=(bool) (3007.0) -
BasicSocket#do_not_reverse_lookup の値を変更します。
...
BasicSocket#do_not_reverse_lookup の値を変更します。
@param bool この値が真ならアドレスからホスト名への逆引きを行わなくなります。
例:
require 'socket'
p TCPSocket.new('localhost', 'telnet').addr
TCPSocket.do_not_reverse_lookup = true
p TCPSock... -
OpenSSL
:: OCSP :: Response . create(status , basic _ resp) -> OpenSSL :: OCSP :: Response (126.0) -
Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト から生成します。
...Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト
から生成します。
@param status ステータスコード(整数)
@param basic_resp OpenSSL::OCSP::BasicResponse オブジェクト
@see OpenSSL::OCSP::Response.new... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (103.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...す。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progress_proc
* :content_length_proc
* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length......OpenURI.open_uri('http://www.example.com',
{ :proxy => 'http://proxy.example.com:8000/',
:http_basic_authentication => [username, password] })
: :proxy
プロクシの設定をします。
値には以下のいずれかを与えます。
//emli......o_proxy が使われる。
false: Proxy を用いない。
nil: Proxy を用いない。
//}
: :http_basic_authentication
HTTP の Basic 認証のためのユーザ名とパスワードを、文字列の配列 ["user", "password"] として与えます。
: :content... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (103.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...す。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progress_proc
* :content_length_proc
* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length......OpenURI.open_uri('http://www.example.com',
{ :proxy => 'http://proxy.example.com:8000/',
:http_basic_authentication => [username, password] })
: :proxy
プロクシの設定をします。
値には以下のいずれかを与えます。
//emli......o_proxy が使われる。
false: Proxy を用いない。
nil: Proxy を用いない。
//}
: :http_basic_authentication
HTTP の Basic 認証のためのユーザ名とパスワードを、文字列の配列 ["user", "password"] として与えます。
: :content... -
Readline
. completer _ word _ break _ characters=(string) (41.0) -
ユーザの入力の補完を行う際、 単語の区切りを示す複数の文字で構成される文字列 string を指定します。 Readline.basic_word_break_characters= との違いは、 GNU Readline の rl_complete_internal 関数で使用されることです。
...。
Readline.basic_word_break_characters= との違いは、
GNU Readline の rl_complete_internal 関数で使用されることです。
GNU Readline のデフォルトの値は、
Readline.basic_word_break_characters と同じです。
@param string 文字列を指定します。
@raise NotImp......lementedError サポートしていない環境で発生します。
@see Readline.completer_word_break_characters... -
Readline
. completer _ word _ break _ characters -> String (29.0) -
ユーザの入力の補完を行う際、 単語の区切りを示す複数の文字で構成された文字列を取得します。 Readline.basic_word_break_characters との違いは、 GNU Readline の rl_complete_internal 関数で使用されることです。
...た文字列を取得します。
Readline.basic_word_break_characters との違いは、
GNU Readline の rl_complete_internal 関数で使用されることです。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.completer_word_break_characters=... -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (19.0) -
プロクシオブジェクトを生成して返します。
...プロクシオブジェクトを生成して返します。
@param config 設定を保存したハッシュを指定します。
設定として有効なハッシュのキーとその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが......は WEBrick::HTTPAuth::ProxyBasicAuth か
WEBrick::HTTPAuth::ProxyDigestAuth を使用します。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']
res['Proxy-Authenticate'] = 'Basic realm="WEBrick Proxy"'
rai......の Proxy の URI
を URI オブジェクトで指定します。
//emlist{
require 'uri'
require 'webrick/httpproxy'
u = URI.parse('http://localhost:18080/')
s = WEBrick::HTTPProxyServer.new(ProxyURI: u, Port: 8080)
//}
@param default デフォルトは WEBrick::Config::HTTP です。...