るりまサーチ

最速Rubyリファレンスマニュアル検索!
154件ヒット [1-100件を表示] (0.082秒)
トップページ > クエリ:I[x] > クラス:WEBrick::GenericServer[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. matrix i
  5. csv to_i

ライブラリ

キーワード

検索結果

<< 1 2 > >>

WEBrick::GenericServer#config -> Hash (9101.0)

サーバの設定を保存したハッシュを返します。

サーバの設定を保存したハッシュを返します。

WEBrick::GenericServer#listen(address, port) -> [TCPServer] (9101.0)

与えられたアドレスとポートで TCPServer オブジェクトを生成し listener として管理します。

...れたアドレスとポートで TCPServer オブジェクトを生成し
listener として管理します。

@param address アドレスを文字列で指定します。

@param port listen するポートを整数で指定します。

@see WEBrick::GenericServer#listeners, TCPServer#listen...

WEBrick::GenericServer#listeners -> [TCPServer] (9101.0)

listen している TCPServer オブジェクトの配列を返します。

...listen している TCPServer オブジェクトの配列を返します。...

WEBrick::GenericServer.new(config = {}, default = WEBrick::Config::General) -> WEBrick::GenericServer (6201.0)

GenericServer オブジェクトを生成して返します。

...GenericServer オブジェクトを生成して返します。

config で有効な項目が増えます。以下は増える項目とそのデフォルト値です。

:ServerSoftware => "#{svrsoft} OpenSSL/#{osslv}",
:SSLEnable => true, # Ruby 1.8.3 以降では false がデ...
...tificate => nil,
:SSLPrivateKey => nil,
:SSLClientCA => nil,
:SSLExtraChainCert => nil,
:SSLCACertificateFile => nil,
:SSLCACertificatePath => nil,
:SSLCertificateStore => nil,
:SSLVerifyClient => ::OpenSSL::SSL::VERIFY_NONE,
:SSLVerifyDepth => ni...
...ifyCallback => nil, # custom verification
:SSLTimeout => nil,
:SSLOptions => nil,
:SSLStartImmediately => true,
# Must specify if you use auto generated certificate.
:SSLCertName => nil,
:SSLCertComment => "Generated by Ruby/OpenSSL"

@param confi...

WEBrick::GenericServer#logger -> WEBrick::Log (6101.0)

生成する時に指定された、自身をロギングする WEBrick::Log のインス タンスを返します。

...生成する時に指定された、自身をロギングする WEBrick::Log のインス
タンスを返します。...

絞り込み条件を変える

WEBrick::GenericServer#ssl_context -> OpenSSL::SSL::SSLContext | nil (6101.0)

サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。

サーバが保持する OpenSSL::SSL::SSLContext オブジェクトを返します。

WEBrick::GenericServer#tokens -> Thread::SizedQueue (6101.0)

MaxClient の設定のために使われる Thread::SizedQueue オブジェクト を返します。Thread::SizedQueue オブジェクトのサイズは現在受け付け ることのできるクライアントの数です。

...MaxClient の設定のために使われる Thread::SizedQueue オブジェクト
を返します。Thread::SizedQueue オブジェクトのサイズは現在受け付け
ることのできるクライアントの数です。

MaxClient を知りたい場合は self.tokens.max です。
self.tokens...

WEBrick::GenericServer#[](key) -> object (6001.0)

self.config[key] と同じです。

...self.config[key] と同じです。...

WEBrick::GenericServer#run(sock) -> () (6001.0)

クライアントと接続された TCPSocket オブジェクトを引数として呼ばれ、 具体的な処理を行います。 WEBrick::GenericServer のサブクラスはこのメソッドを適切に再定義しなければいけません。

...クライアントと接続された TCPSocket オブジェクトを引数として呼ばれ、
具体的な処理を行います。
WEBrick::GenericServer
のサブクラスはこのメソッドを適切に再定義しなければいけません。

@param sock クライアントと接続された...

WEBrick::GenericServer#shutdown -> () (6001.0)

WEBrick::GenericServer#stop を呼び、全ての listeners を close します。

...
WEBrick::GenericServer
#stop を呼び、全ての listeners を close します。...

絞り込み条件を変える

<< 1 2 > >>