22件ヒット
[1-22件を表示]
(0.040秒)
ライブラリ
-
webrick
/ httpauth / digestauth (11) -
webrick
/ httpproxy (11)
クラス
検索結果
先頭2件
-
WEBrick
:: HTTPAuth :: ProxyDigestAuth (21000.0) -
プロクシの Digest 認証のためのクラスです。
プロクシの Digest 認証のためのクラスです。 -
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (3243.0) -
プロクシオブジェクトを生成して返します。
...値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが有効です。
: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest オブジ......続を
受け付けます。デフォルトは nil です。通常は WEBrick::HTTPAuth::ProxyBasicAuth か
WEBrick::HTTPAuth::ProxyDigestAuth を使用します。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
auth_proc = proc{|req, res|
unless c = req['proxy-authorization']......= WEBrick::HTTPProxyServer.new(ProxyAuthProc: auth_proc, Port: 8080)
//}
: :ProxyContentHandler
接続先の HTTP サーバからの内容を処理する Proc オブジェクトを指定します。
レスポンスの内容を書き換えたりする事が出来ます。WEBrick::HTTPResponse...