るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.033秒)
トップページ > バージョン:2.1.0[x] > クエリ: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 (63448.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::M...

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

self.class.default_port を返します。

self.class.default_port を返します。

@see URI::Generic.default_port

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

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

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