108件ヒット
[101-108件を表示]
(0.040秒)
別のキーワード
種類
- インスタンスメソッド (84)
- 特異メソッド (24)
ライブラリ
-
net
/ imap (36) -
net
/ smtp (12) -
webrick
/ httpauth / basicauth (24) -
webrick
/ httpauth / digestauth (24) -
webrick
/ httpproxy (12)
クラス
-
Net
:: IMAP (36) -
Net
:: SMTP (12) -
WEBrick
:: HTTPAuth :: BasicAuth (24) -
WEBrick
:: HTTPAuth :: DigestAuth (24) -
WEBrick
:: HTTPProxyServer (12)
キーワード
-
add
_ authenticator (12) - challenge (24)
- login (12)
- new (12)
検索結果
先頭1件
-
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (18.0) -
プロクシオブジェクトを生成して返します。
...プロクシオブジェクトを生成して返します。
@param config 設定を保存したハッシュを指定します。
設定として有効なハッシュのキーとその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが......//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']
res['Proxy-Authenticate'] = 'Basic realm="WEBrick Proxy"'
raise WEBrick::HTTPStatus::ProxyAuthenticationRequired
else
# 略
end
}
s = WEBrick::HTTPPr......の 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 です。...