11件ヒット
[1-11件を表示]
(0.011秒)
検索結果
-
URI
:: Generic . default _ port -> Integer | nil (10.0) -
スキームに対応するデフォルトのポート番号を整数で返します。
...ます。
require 'uri'
URI::Generic.default_port # => nil
URI::FTP.default_port # => 21
URI::HTTP.default_port # => 80
URI::HTTPS.default_port # => 443
URI::LDAP.default_port # => 389
URI::LDAPS.default_port # => 636
URI::MailTo.default_port...