452件ヒット
[1-100件を表示]
(0.038秒)
別のキーワード
ライブラリ
-
cgi
/ core (24) -
net
/ ftp (12) -
net
/ http (48) -
net
/ imap (12) -
net
/ smtp (32) - openssl (24)
- resolv (72)
- resolv-replace (36)
- socket (132)
- uri (36)
-
webrick
/ httprequest (12) -
webrick
/ httpserver (12)
クラス
- Addrinfo (72)
-
Net
:: FTP (12) -
Net
:: HTTP (24) -
Net
:: HTTPResponse (24) -
Net
:: IMAP :: Address (12) -
Net
:: SMTP (32) -
OpenSSL
:: SSL :: SSLSocket (24) -
Resolv
:: Hosts (72) - UDPSocket (96)
-
URI
:: Generic (36) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPServer (12)
モジュール
-
CGI
:: QueryExtension (24)
キーワード
- bind (24)
- connect (36)
-
connect
_ from (24) -
connect
_ to (24) -
each
_ address (12) -
each
_ name (12) -
family
_ addrinfo (24) - getaddress (12)
- getaddresses (12)
- getname (12)
- getnames (12)
- hostname (24)
-
local
_ host (12) -
local
_ port (12) -
post
_ connection _ check (12) -
read
_ body (24) -
remote
_ host (12) - select (12)
- send (48)
- start (32)
-
virtual
_ host (12)
検索結果
先頭5件
-
CGI
:: QueryExtension # host -> String (18218.0) -
ENV['HTTP_HOST'] を返します。
...ENV['HTTP_HOST'] を返します。... -
URI
:: Generic # host -> String | nil (18218.0) -
自身の host を文字列で返します。設定されていない場合は nil を返します。
...自身の host を文字列で返します。設定されていない場合は nil を返します。
@see URI::Generic#hostname... -
WEBrick
:: HTTPRequest # host -> String (18218.0) -
リクエスト URI の host を文字列で返します。
...リクエスト URI の host を文字列で返します。... -
Net
:: IMAP :: Address # host -> String | nil (18202.0) -
メールアドレスのホスト名を返します。
メールアドレスのホスト名を返します。
nil は 822 のグループ文法に対応します。
これについては Net::IMAP::Address#mailbox も参照してください。
そうでない場合は 822 のドメイン名を表します。
通常は、メールアドレスの「@」の後ろのドメイン名を返します。 -
URI
:: Generic # hostname -> String | nil (6229.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 (6218.0) -
ENV['REMOTE_HOST'] を返します。
...ENV['REMOTE_HOST'] を返します。... -
WEBrick
:: HTTPServer # virtual _ host(server) -> () (6214.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... -
Net
:: HTTP # local _ host -> String | nil (6208.0) -
接続に用いるローカルホスト名を返します。
...接続に用いるローカルホスト名を返します。
nil の場合システムが適当にローカルホストを
決めます。
デフォルトは nil です。
@see Net::HTTP#local_host=, Net::HTTP#local_port... -
OpenSSL
:: SSL :: SSLSocket # hostname -> String | nil (6201.0) -
TLS の Server Name Indication 拡張で利用するサーバのホスト名を返します。
...TLS の Server Name Indication 拡張で利用するサーバのホスト名を返します。
OpenSSL::SSL::SSLSocket#hostname= で設定した値がそのまま返されます。
設定していない場合は nil を返します。
@see OpenSSL::SSL::SSLSocket#hostname=...