るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.022秒)
トップページ > クエリ:generic[x] > クエリ:default_port[x]

別のキーワード

  1. uri default_port
  2. _builtin default
  3. socket ai_default
  4. socket ip_default_multicast_ttl

ライブラリ

クラス

検索結果

URI::Generic.default_port -> Integer | nil (21149.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 # => nil...

URI::Generic#default_port -> Integer | nil (21129.0)

self.class.default_port を返します。

...self.class.default_port を返します。

@see URI::Generic.default_port...

URI::Generic::DEFAULT_PORT -> nil (9117.0)

URI::Generic のデフォルトポート(nil)です。

...URI::Generic のデフォルトポート(nil)です。...