1012件ヒット
[1-100件を表示]
(0.122秒)
ライブラリ
- ビルトイン (151)
-
net
/ http (22) -
net
/ imap (154) - open-uri (22)
- openssl (110)
- readline (33)
- socket (187)
-
webrick
/ cgi (11) -
webrick
/ config (11) -
webrick
/ httpauth (22) -
webrick
/ httpauth / basicauth (77) -
webrick
/ httpproxy (11) -
webrick
/ log (165) - win32ole (11)
クラス
- Array (19)
- BasicObject (110)
- BasicSocket (187)
-
Net
:: IMAP :: BodyTypeBasic (132) -
Net
:: IMAP :: BodyTypeMessage (11) -
Net
:: IMAP :: BodyTypeMultipart (11) -
OpenSSL
:: OCSP :: BasicResponse (77) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: OCSP :: Response (22) - String (11)
- Time (11)
-
WEBrick
:: BasicLog (165) -
WEBrick
:: CGI (11) -
WEBrick
:: HTTPAuth :: BasicAuth (77) -
WEBrick
:: HTTPProxyServer (11) -
WIN32OLE
_ PARAM (11)
モジュール
-
Net
:: HTTPHeader (22) - OpenURI (22)
- Readline (33)
-
WEBrick
:: Config (11) -
WEBrick
:: HTTPAuth (22)
キーワード
- != (11)
- << (11)
- == (11)
- BasicAuth (11)
-
_ _ id _ _ (11) -
_ _ send _ _ (22) -
add
_ nonce (11) -
add
_ status (11) - authenticate (11)
-
basic
_ auth (22) -
basic
_ quote _ characters (11) -
basic
_ word _ break _ characters (11) - body (11)
- challenge (11)
-
check
_ nonce (11) - close (11)
-
completer
_ word _ break _ characters (11) -
connect
_ address (11) -
content
_ id (11) -
copy
_ nonce (11) - create (11)
- debug (11)
- debug? (11)
- description (11)
-
do
_ not _ reverse _ lookup (22) - encoding (11)
- equal? (11)
- error (11)
- error? (11)
- extension (11)
- fatal (11)
- fatal? (11)
-
for
_ fd (11) - getpeereid (11)
- getpeername (11)
- getsockname (11)
- info (11)
- info? (11)
-
instance
_ eval (11) -
instance
_ exec (11) - language (11)
- level (11)
-
local
_ address (11) - log (11)
- logger (22)
-
make
_ passwd (11) - md5 (11)
-
media
_ subtype (11) -
media
_ type (11) -
method
_ missing (11) - multipart? (11)
- new (44)
-
open
_ uri (22) - pack (19)
- pack テンプレート文字列 (11)
- param (11)
- parts (11)
-
proxy
_ basic _ auth (22) - realm (11)
- recv (11)
-
recv
_ nonblock (11) - recvmsg (11)
-
recvmsg
_ nonblock (11) -
remote
_ address (11) - retval? (11)
-
ruby 1
. 8 . 3 feature (11) - send (11)
- sendmsg (11)
-
sendmsg
_ nonblock (11) - shutdown (11)
- sign (11)
-
singleton
_ method _ removed (11) - size (11)
- status (11)
- strftime (11)
- subtype (11)
- unpack (11)
- userdb (11)
- verify (11)
- warn (11)
- warn? (11)
- xmlrpc (3)
検索結果
先頭5件
-
OpenSSL
:: OCSP :: Response # basic -> OpenSSL :: OCSP :: BasicResponse | nil (21401.0) -
Response オブジェクトが保持している BasicResponse オブジェクトを 返します。
...Response オブジェクトが保持している BasicResponse オブジェクトを
返します。
@see OpenSSL::OCSP::BasicResponse... -
Readline
. basic _ word _ break _ characters -> String (15307.0) -
ユーザの入力の補完を行う際、 単語の区切りを示す複数の文字で構成される文字列を取得します。
...ユーザの入力の補完を行う際、
単語の区切りを示す複数の文字で構成される文字列を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.basic_word_break_characters=... -
BasicSocket
# remote _ address -> Addrinfo (15306.0) -
getpeername(2) で得られたリモートアドレス情報を Addrinfo オブジェクトとして返します。
...tpeername(2) で得られたリモートアドレス情報を
Addrinfo オブジェクトとして返します。
返されたオブジェクトの Addrinfo#protocol は 0 を
返すことに注意してください。
require 'socket'
TCPSocket.open("www.ruby-lang.org", 80) {|s|
p s.remo......te_address #=> #<Addrinfo: 221.186.184.68:80 TCP>
}
TCPServer.open("127.0.0.1", 1728) {|serv|
c = TCPSocket.new("127.0.0.1", 1728)
s = serv.accept
p s.remote_address #=> #<Addrinfo: 127.0.0.1:36504 TCP>
}
@see BasicSocket#getpeername... -
Net
:: HTTPHeader # proxy _ basic _ auth(account , password) -> [String] (12329.0) -
Proxy 認証のために Proxy-Authorization: ヘッダをセットします。
...Proxy 認証のために Proxy-Authorization: ヘッダをセットします。
@param account アカウント名を文字列で与えます。
@param password パスワードを文字列で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html......')
req = Net::HTTP::Get.new(uri.request_uri)
req.proxy_basic_auth("account", "password") # => ["Basic YWNjb3VudDpwYXNzd29yZA=="]
//}... -
WEBrick
:: HTTPAuth . # proxy _ basic _ auth(req , res , realm) {|user , pass| . . . } -> nil (12317.0) -
プロクシの Basic 認証行うためのメソッドです。
...プロクシの Basic 認証行うためのメソッドです。
与えられたブロックは user, pass をブロックパラメータとして渡されて評価されます。
ブロックの評価結果が真である場合、認証が成功したことになります。
ブロックの評価......@param req クライアントからのリクエストを表す WEBrick::HTTPRequest オブジェクトを指定します。
@param res WEBrick::HTTPResponse オブジェクトを指定します。
@param realm 認証のレルムを文字列で指定します。
@raise WEBrick::HTTPStatus::ProxyA......uthenticationRequired 認証に失敗した場合に発生します。... -
Readline
. basic _ quote _ characters -> String (12307.0) -
スペースなどの単語の区切りをクオートするための 複数の文字で構成される文字列を取得します。
...スペースなどの単語の区切りをクオートするための
複数の文字で構成される文字列を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.basic_quote_characters=... -
WEBrick
:: HTTPAuth . # basic _ auth(req , res , realm) {|user , pass| . . . } -> nil (9529.0) -
Basic 認証を行うためのメソッドです。
...
Basic 認証を行うためのメソッドです。
与えられたブロックは user, pass をブロックパラメータとして渡されて評価されます。
ブロックの評価結果が真である場合、認証が成功したことになります。
ブロックの評価結果が偽......aram req クライアントからのリクエストを表す WEBrick::HTTPRequest オブジェクトを指定します。
@param res WEBrick::HTTPResponse オブジェクトを指定します。
@param realm 認証のレルムを文字列で指定します。
@raise WEBrick::HTTPStatus::Unauthori......zed 認証に失敗した場合に発生します。
require 'webrick'
srv.mount_proc('/basic_auth') {|req, res|
HTTPAuth.basic_auth(req, res, "WEBrick's realm") {|user, pass|
user == 'webrick' && pass == 'supersecretpassword'
}
res.body = "hoge"
}... -
OpenSSL
:: OCSP :: Response . create(status , basic _ resp) -> OpenSSL :: OCSP :: Response (9507.0) -
Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト から生成します。
...Response オブジェクトを OpenSSL::OCSP::BasicResponse オブジェクト
から生成します。
@param status ステータスコード(整数)
@param basic_resp OpenSSL::OCSP::BasicResponse オブジェクト
@see OpenSSL::OCSP::Response.new... -
OpenURI
. open _ uri(name , mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (9404.0) -
URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。
...URI である文字列 name のリソースを取得して StringIO オブジェクト
として返します。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返......。
require 'open-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read
OpenURI.open_uri('http://www.example.com'){|sio| sio.read }
options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progres......s_proc
* :content_length_proc
* :http_basic_authentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定... -
Net
:: IMAP :: BodyTypeMultipart # parts -> [Net :: IMAP :: BodyTypeBasic | Net :: IMAP :: BodyTypeText | Net :: IMAP :: BodyTypeMessage | Net :: IMAP :: BodyTypeMultipart] (9400.0) -
マルチパートの各部分を返します。
マルチパートの各部分を返します。