468件ヒット
[1-100件を表示]
(0.079秒)
ライブラリ
-
cgi
/ core (22) -
net
/ ftp (11) -
net
/ http (66) -
net
/ imap (11) -
net
/ smtp (28) - openssl (33)
- resolv (66)
- resolv-replace (33)
- socket (121)
- uri (55)
-
webrick
/ httprequest (11) -
webrick
/ httpserver (11)
クラス
- Addrinfo (66)
-
Net
:: FTP (11) -
Net
:: HTTP (44) -
Net
:: HTTPResponse (22) -
Net
:: IMAP :: Address (11) -
Net
:: SMTP (28) -
OpenSSL
:: SSL :: SSLSocket (33) -
Resolv
:: Hosts (66) - UDPSocket (88)
-
URI
:: Generic (55) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPServer (11)
モジュール
-
CGI
:: QueryExtension (22)
キーワード
- bind (22)
- connect (33)
-
connect
_ from (22) -
connect
_ to (22) -
each
_ address (11) -
each
_ name (11) -
family
_ addrinfo (22) - getaddress (11)
- getaddresses (11)
- getname (11)
- getnames (11)
- host= (11)
- hostname (22)
- hostname= (22)
-
local
_ host (11) -
local
_ host= (11) -
local
_ port (11) -
local
_ port= (11) -
post
_ connection _ check (11) -
read
_ body (22) -
remote
_ host (11) - select (11)
- send (44)
- start (28)
-
virtual
_ host (11)
検索結果
先頭5件
-
CGI
:: QueryExtension # host -> String (18118.0) -
ENV['HTTP_HOST'] を返します。
...ENV['HTTP_HOST'] を返します。... -
URI
:: Generic # host -> String | nil (18118.0) -
自身の host を文字列で返します。設定されていない場合は nil を返します。
...自身の host を文字列で返します。設定されていない場合は nil を返します。
@see URI::Generic#hostname... -
WEBrick
:: HTTPRequest # host -> String (18118.0) -
リクエスト URI の host を文字列で返します。
...リクエスト URI の host を文字列で返します。... -
Net
:: IMAP :: Address # host -> String | nil (18102.0) -
メールアドレスのホスト名を返します。
メールアドレスのホスト名を返します。
nil は 822 のグループ文法に対応します。
これについては Net::IMAP::Address#mailbox も参照してください。
そうでない場合は 822 のドメイン名を表します。
通常は、メールアドレスの「@」の後ろのドメイン名を返します。 -
Net
:: HTTP # local _ host=(host) (6221.0) -
接続に用いるローカルホスト名を指定します。
...。
@param host ホスト名、もしくはアドレスを示す文字列
//emlist[例][ruby]{
require 'net/http'
http = Net::HTTP.new("www.example.com")
http.local_host = "192.168.0.5"
http.local_port = "53043"
http.start do |h|
p h.get("/").body
end
//}
@see Net::HTTP#local_host=, Net::HTTP... -
OpenSSL
:: SSL :: SSLSocket # hostname=(hostname) (6201.0) -
TLS の Server Name Indication(SNI) 拡張で利用するサーバのホスト名を設定します。
...する必要があります。
hostname に nil を渡すと SNI 拡張を利用しません。
サーバ側については OpenSSL::SSL::SSLContext#servername_cb= を
参照してください。
@param hostname ホスト名文字列
@see OpenSSL::SSL::SSLSocket#hostname,
OpenSSL::SSL::SSLCo... -
URI
:: Generic # host=(s) (6130.0) -
自身の host を設定します。
... host を設定します。
@param s 自身の host を表す文字列を指定します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。
@raise URI::InvalidURIError host と registry を同時に設定した場合に発生します。
@see URI::Generic#hostn... -
URI
:: Generic # hostname -> String | nil (6129.0) -
自身の hostname を文字列で返します。また、URI::Generic#host が設 定されていない場合は nil を返します。
...自身の hostname を文字列で返します。また、URI::Generic#host が設
定されていない場合は nil を返します。
このメソッドは URI::Generic#host に IPv6 アドレスが設定されていた
場合はブラケットを削除した文字列を返しますがそれ以......外は同じ文字列を返し
ます。
require 'uri'
u = URI("http://[::1]/bar")
p u.hostname # => "::1"
p u.host # => "[::1]"... -
CGI
:: QueryExtension # remote _ host -> String (6118.0) -
ENV['REMOTE_HOST'] を返します。
...ENV['REMOTE_HOST'] を返します。... -
WEBrick
:: HTTPServer # virtual _ host(server) -> () (6114.0) -
サーバの保持しているバーチャルホストのリストに HTTP サーバ server を加えます。 クライアントからのリクエストのうち server へのものは server に委譲されるようになります。
...e 'webrick'
include WEBrick
srv1 = HTTPServer.new( { :Port => 1080, :ServerName => 'hoge.example.com' } )
srv2 = HTTPServer.new( { :Port => 1080, :ServerName => 'foo.example.com' } )
srv = HTTPServer.new( { :Port => 1080 } )
srv.virtual_host(srv1)
srv.virtual_host(srv2)
srv.start...