るりまサーチ

最速Rubyリファレンスマニュアル検索!
390件ヒット [1-100件を表示] (0.090秒)

別のキーワード

  1. string b
  2. _builtin b
  3. b string
  4. b
  5. b _builtin

検索結果

<< 1 2 3 ... > >>

WEBrick::HTTPRequest#accept -> [String] (21118.0)

Accept ヘッダの内容をメディアタイプを表す文字列の配列で返します。 配列は品質係数(qvalue)でソートされています。

...
Accept
ヘッダの内容をメディアタイプを表す文字列の配列で返します。
配列は品質係数(qvalue)でソートされています。...

UNIXServer#accept_nonblock -> UnixSocket (12248.0)

ソケットをノンブロッキングモードに設定した後、 accept(2) を呼び出します。

...ドに設定した後、
accept
(2) を呼び出します。

接続した
UNIXSocket のインスタンスを返します。

accept
(2) がエラーになった場合、Socket#accept と同じ例外が
発生します。

Errno::EWOULDBLOCK, Errno::EAGAIN,
Errno::ECONNABORTED, Errno::EPROTO のい...
...は IO::WaitReadable が extend
されます。それを利用してリトライ可能な例外を掴まえることができます。

require 'socket'
serv = UNIXServer.new("/tmp/sock")
b
egin # emulate blocking accept
sock = serv.accept_nonblock
rescue IO::WaitReadable, Errno::EINTR...
...IO.select([serv])
retry
end
# sock is an accepted socket.

@see UNIXServer#accept...

TCPServer#accept_nonblock -> TCPSocket (12236.0)

ソケットをノンブロッキングモードに設定した後、 accept(2) を呼び出します。

...キングモードに設定した後、
accept
(2) を呼び出します。

返り値は TCPServer#accept と同じです。

accept
(2) がエラーになった場合、
EAGAIN, EINTR を含め例外 Errno::EXXX が発生します。

@raise Errno::EXXX accept(2) がエラーになった場合に発...

Socket#accept_nonblock -> Array (12230.0)

ソケットをノンブロッキングモードに設定した後、 accept(2) を呼び出します。

...ソケットをノンブロッキングモードに設定した後、
accept
(2) を呼び出します。

引数、返り値は Socket#accept と同じです。

accept
(2) がエラーになった場合、
EAGAIN, EINTR を含め例外 Errno::EXXX が発生します。...

OpenSSL::SSL::SSLSocket#accept_nonblock -> self (12208.0)

ノンブロッキング方式で TLS/SSL 通信をサーバモードとして開始し、 クライアントとのハンドシェイクを実行します。

...る場合には IO::WaitReadable を、
書き込み可能状態を待つ必要がある場合には IO::WaitWritable を、
それぞれ extend した例外オブジェクトが生成されます。
@see OpenSSL::SSL::SSLSocket#connect_nonblock,
OpenSSL::SSL::SSLSocket#accept...

絞り込み条件を変える

WEBrick::HTTPRequest#accept_charset -> [String] (9118.0)

Accept-Charset ヘッダの内容を文字セットを表す文字列の配列で返します。 配列は品質係数(qvalue)でソートされています。

...
Accept
-Charset ヘッダの内容を文字セットを表す文字列の配列で返します。
配列は品質係数(qvalue)でソートされています。...

WEBrick::HTTPRequest#accept_encoding -> [String] (9118.0)

Accept-Encoding ヘッダの内容をコーディングを表す文字列の配列で返します。 配列は品質係数(qvalue)でソートされています。

...
Accept
-Encoding ヘッダの内容をコーディングを表す文字列の配列で返します。
配列は品質係数(qvalue)でソートされています。...

WEBrick::HTTPRequest#accept_language -> [String] (9118.0)

Accept-Language ヘッダの内容を自然言語を表す文字列の配列で返します。 配列は品質係数(qvalue)でソートされています。

...
Accept
-Language ヘッダの内容を自然言語を表す文字列の配列で返します。
配列は品質係数(qvalue)でソートされています。...

Module#ruby2_keywords(method_name, ...) -> nil (6117.0)

For the given method names, marks the method as passing keywords through a normal argument splat. This should only be called on methods that accept an argument splat (`*args`) but not explicit keywords or a keyword splat. It marks the method such that if the method is called with keyword arguments, the final hash argument is marked with a special flag such that if it is the final element of a normal argument splat to another method call, and that method call does not include explicit keywords or a keyword splat, the final element is interpreted as keywords. In other words, keywords will be passed through the method to other methods.

...For the given method names, marks the method as passing keywords through
a normal argument splat. This should only be called on methods that
accept
an argument splat (`*args`) but not explicit keywords or a
keyword splat. It marks the method such that if the method is called
with keyword argument...
...s will be passed through the method to
other methods.

This should only be used for methods that delegate keywords to another
method, and only for backwards compatibility with Ruby versions before
2.7.

This method will probably be removed at some point, as it exists only
for backwards compatibility...
...exist in Ruby versions
b
efore 2.7, check that the module responds to this method before calling
it. Also, be aware that if this method is removed, the behavior of the
method will change so that it does not pass through keywords.

//emlist[例][ruby]{
module Mod
def foo(meth, *args, &block)
se...
<< 1 2 3 ... > >>