るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.053秒)
トップページ > クエリ:b[x] > クエリ:ProxyAuthenticationRequired[x]

別のキーワード

  1. _builtin b
  2. string b
  3. b _builtin
  4. b string
  5. b

検索結果

WEBrick::HTTPStatus::ProxyAuthenticationRequired (21000.0)

HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。

...HTTP のステータスコード 407 Proxy Authentication Required を表すクラスです。...

WEBrick::HTTPAuth.#proxy_basic_auth(req, res, realm) {|user, pass| ... } -> nil (6106.0)

プロクシの Basic 認証行うためのメソッドです。

...プロクシの Basic 認証行うためのメソッドです。

与えられたブロックは user, pass をブロックパラメータとして渡されて評価されます。
ブロックの評価結果が真である場合、認証が成功したことになります。
ブロックの評価...
...エストを表す WEBrick::HTTPRequest オブジェクトを指定します。

@param res WEBrick::HTTPResponse オブジェクトを指定します。

@param realm 認証のレルムを文字列で指定します。

@raise WEBrick::HTTPStatus::ProxyAuthenticationRequired 認証に失敗した...

WEBrick::HTTPProxyServer.new(config, default = WEBrick::Config::HTTP) -> WEBrick::HTTPProxyServer (3206.0)

プロクシオブジェクトを生成して返します。

...とその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが有効です。

: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest...
...Brick::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"'
raise WEB...
...rick::HTTPStatus::ProxyAuthenticationRequired
else
# 略
end
}
s = WEBrick::HTTPProxyServer.new(ProxyAuthProc: auth_proc, Port: 8080)
//}
: :ProxyContentHandler
接続先の HTTP サーバからの内容を処理する Proc オブジェクトを指定します。
レスポンスの...

WEBrick::HTTPAuth::ProxyAuthenticator::AuthException -> Class (3016.0)

WEBrick::HTTPStatus::ProxyAuthenticationRequired です。

...WEBrick::HTTPStatus::ProxyAuthenticationRequired です。...