るりまサーチ

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

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix determinant_e
  4. open3 capture2e
  5. matrix rank_e

検索結果

WEBrick::HTTPStatus::ProxyAuthenticationRequired (24000.0)

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

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

Net::HTTPProxyAuthenticationRequired (12000.0)

HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。

...HTTP レスポンス 407 (Proxy Authentication Required) を表現するクラスです。

詳しくは 7235 Section 3.2 を見てください。...

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

WEBrick::HTTPStatus::ProxyAuthenticationRequired です。

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

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

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

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

: :ProxyAuthProc
プロクシ認証を行う Proc オブジェクトを指定します。この proc は
WEBrick::HTTPResponse オブジェクトと WEBrick::HTTPRequest オブジ...
...ll(req, res) のように呼ばれます。
認証に失敗した場合 proc は適切な例外を発生させなければいけません。nil を指定した場合すべての接続を
受け付けます。デフォルトは nil です。通常は WEBrick::HTTPAuth::ProxyBasicAuth か
WEBric...
...oxyDigestAuth を使用します。
//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
e
lse...

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

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

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

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

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

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

@raise WEBrick::HTTPStatus::ProxyAuthent...
...icationRequired 認証に失敗した場合に発生します。...

絞り込み条件を変える