ライブラリ
- open-uri (2)
- openssl (2)
- readline (2)
- socket (2)
-
webrick
/ httpauth / basicauth (2) -
webrick
/ httpproxy (1)
クラス
キーワード
-
completer
_ word _ break _ characters (1) -
completer
_ word _ break _ characters= (1) - create (1)
-
do
_ not _ reverse _ lookup (1) -
do
_ not _ reverse _ lookup= (1) -
make
_ passwd (1) - new (3)
-
open
_ uri (2)
検索結果
先頭5件
- WEBrick
:: HTTPAuth :: BasicAuth . make _ passwd(realm , user , pass) -> String - 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 - BasicSocket
. do _ not _ reverse _ lookup=(bool) - BasicSocket
. do _ not _ reverse _ lookup -> bool
-
WEBrick
:: HTTPAuth :: BasicAuth . make _ passwd(realm , user , pass) -> String (36604.0) -
pass をランダムなソルトで crypt した文字列を返します。
pass をランダムなソルトで crypt した文字列を返します。
@param realm レルムを指定します。
@param user ユーザ名を指定します。
@param pass パスワードを指定します。 -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (27784.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'){|... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) {|sio| . . . } -> nil (27784.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'){|... -
BasicSocket
. do _ not _ reverse _ lookup=(bool) (27340.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 TCPSocket.new('localhost', 'telnet').addr
=> ["AF_INET", 2253, "localhost", "127.0.0.1... -
BasicSocket
. do _ not _ reverse _ lookup -> bool (27304.0) -
Socket#do_not_reverse_lookup の Socket オブジェクト生成時の デフォルト値を返します。
Socket#do_not_reverse_lookup の Socket オブジェクト生成時の
デフォルト値を返します。
この設定は大域的に作用します。
デフォルトは true です。 -
WEBrick
:: HTTPAuth :: BasicAuth . new(config , default = Config :: BasicAuth) -> WEBrick :: HTTPAuth :: BasicAuth (18904.0) -
BasicAuth オブジェクトを生成します。config は設定を保存したハッシュです。
BasicAuth オブジェクトを生成します。config は設定を保存したハッシュです。
config で有効なハッシュキーは以下の通りです。
:Realm =>
:UserDB =>
:Logger =>
:AutoReloadUserDB =>
realm を表す文字列 :Realm には与えます。:UserDB
には WEBrick::HTTPAuth::Htpasswd オブジェクトを与えます。:Logger には
ロガーオブジェクトを与えます。また、:AutoReloadUserDB には
WEBrick... -
OpenSSL
:: OCSP :: BasicResponse . new -> OpenSSL :: OCSP :: BasicResponse (18604.0) -
空の BasicResponse オブジェクトを生成します。
空の BasicResponse オブジェクトを生成します。
@see OpenSSL::OCSP::Response.create -
Readline
. completer _ word _ break _ characters=(string) (18370.0) -
ユーザの入力の補完を行う際、 単語の区切りを示す複数の文字で構成される文字列 string を指定します。 Readline.basic_word_break_characters= との違いは、 GNU Readline の rl_complete_internal 関数で使用されることです。
ユーザの入力の補完を行う際、
単語の区切りを示す複数の文字で構成される文字列 string を指定します。
Readline.basic_word_break_characters= との違いは、
GNU Readline の rl_complete_internal 関数で使用されることです。
GNU Readline のデフォルトの値は、
Readline.basic_word_break_characters と同じです。
@param string 文字列を指定します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Re... -
Readline
. completer _ word _ break _ characters -> String (18352.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= -
OpenSSL
:: OCSP :: Response . create(status , basic _ resp) -> OpenSSL :: OCSP :: Response (9625.0) -
Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト から生成します。
Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト
から生成します。
@param status ステータスコード(整数)
@param basic_resp OpenSSL::OCSP::BasicResponse オブジェクト
@see OpenSSL::OCSP::Response.new -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (9322.0) -
プロクシオブジェクトを生成して返します。
プロクシオブジェクトを生成して返します。
@param config 設定を保存したハッシュを指定します。
設定として有効なハッシュのキーとその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが有効です。
: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest オブジェクトを引数として
proc.call(req, res) ...