2件ヒット
[1-2件を表示]
(0.063秒)
ライブラリ
- ビルトイン (1)
-
webrick
/ httpauth / digestauth (1)
キーワード
- ConditionVariable (1)
- DigestAuth (1)
検索結果
-
Thread
:: ConditionVariable (18022.0) -
スレッドの同期機構の一つである状態変数を実現するクラスです。
...が空になった場合、
あるいは満タンになった場合に Condition Variable を使って wait しています。
require 'thread'
class TinyQueue
def initialize(max=2)
@max = max
@full = ConditionVariable.new
@empty = ConditionVariable.new
@mutex = Mut... -
WEBrick
:: HTTPAuth :: DigestAuth (9022.0) -
HTTP の Digest 認証のためのクラスです。
HTTP の Digest 認証のためのクラスです。
2617 も参照してください。
例:
require 'webrick'
config = { :Realm => 'DigestAuth example realm' }
htdigest = WEBrick::HTTPAuth::Htdigest.new 'my_password_file'
htdigest.set_passwd config[:Realm], 'username', 'password'
htdigest.flush
config[:UserDB] = htdigest
dige...