ライブラリ
-
cgi
/ core (22) - csv (484)
- mkmf (374)
-
net
/ http (869) -
net
/ imap (22) -
net
/ pop (11) - psych (22)
-
rubygems
/ package / tar _ header (187) -
rubygems
/ package / tar _ reader / entry (11) - un (11)
- uri (11)
-
webrick
/ httprequest (22) -
webrick
/ httpresponse (11) -
webrick
/ httputils (11)
クラス
- CGI (22)
- CSV (231)
-
CSV
:: FieldInfo (22) -
CSV
:: Row (132) -
CSV
:: Table (99) -
Gem
:: Package :: TarHeader (187) -
Gem
:: Package :: TarReader :: Entry (11) -
Net
:: HTTP (385) -
Net
:: HTTPResponse (33) -
Net
:: IMAP (11) -
Net
:: IMAP :: FetchData (11) -
Net
:: POPMail (11) -
Psych
:: Nodes :: Node (22) -
URI
:: MailTo (11) -
WEBrick
:: HTTPRequest (22) -
WEBrick
:: HTTPResponse (11) -
WEBrick
:: HTTPUtils :: FormData (11)
モジュール
- Kernel (385)
-
Net
:: HTTPHeader (451)
キーワード
- [] (77)
- []= (33)
-
add
_ field (11) - attr (11)
-
basic
_ auth (11) -
canonical
_ each (11) -
check
_ signedness (22) -
check
_ sizeof (22) - checksum (11)
- chunked? (11)
-
content
_ length (11) -
content
_ length= (11) -
content
_ range (11) -
content
_ type (11) -
content
_ type= (11) - convert (33)
- converters (11)
-
convertible
_ int (22) - copy (11)
-
create
_ header (11) - delete (44)
-
delete
_ if (11) - devmajor (11)
- devminor (11)
- each (44)
-
each
_ capitalized (11) -
each
_ capitalized _ name (11) -
each
_ header (11) -
each
_ key (11) -
each
_ name (11) -
each
_ value (11) - encoding (11)
- fetch (44)
- field (11)
- fields (11)
-
find
_ header (11) -
find
_ type (22) -
form
_ data= (11) - get (22)
- get2 (22)
-
get
_ fields (11) - gid (11)
- gname (11)
-
have
_ func (22) -
have
_ header (22) -
have
_ library (22) -
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) -
have
_ var (22) - head (11)
- head2 (22)
- header= (11)
- header? (11)
-
header
_ convert (33) -
header
_ converters (11) - headers (22)
- include? (11)
- index (11)
- inspect (22)
- key? (11)
- length (11)
- lineno (11)
- linkname (11)
- lock (11)
- magic (11)
-
main
_ type (11) - method (11)
- mkcol (11)
- mkmf (11)
- mode (11)
- move (11)
- mtime (11)
- name (11)
- out (11)
- patch (22)
- post (22)
- post2 (22)
- prefix (11)
- propfind (11)
- proppatch (11)
-
proxy
_ basic _ auth (11) - put (11)
- put2 (22)
-
quote
_ char (11) - range (11)
- range= (22)
-
range
_ length (11) -
raw
_ header (11) -
reader
_ header (11) - readline (11)
- readlines (11)
-
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
request
_ put (22) - response (11)
-
return
_ headers? (11) - rewind (11)
-
row
_ sep (11) -
send
_ request (11) -
set
_ content _ type (11) -
set
_ form _ data (11) -
set
_ range (33) - size (22)
-
skip
_ blanks? (11) -
sub
_ type (11) -
to
_ csv (11) -
to
_ s (22) -
to
_ yaml (11) - trace (11)
-
try
_ constant (22) -
try
_ func (22) -
try
_ static _ assert (22) -
try
_ type (22) -
try
_ var (22) -
type
_ params (11) - typeflag (11)
- uid (11)
- uname (11)
- unlock (11)
-
values
_ at (22) - version (11)
-
write
_ headers? (11) - yaml (11)
検索結果
先頭5件
-
CSV
:: FieldInfo # header -> String | nil (21226.0) -
利用可能な場合はヘッダを表す文字列を返します。
...SV.new("date1,date2\n2018-07-09,2018-07-10", headers: true)
csv.convert do |field,field_info|
p field_info.header
Date.parse(field)
end
p csv.first
# => "date1"
# => "date2"
# => #<CSV::Row "date1":#<Date: 2018-07-09 ((2458309j,0s,0n),+0s,2299161j)> "date2":#<Date: 2018-07-10 ((2458310j,0s,0n),... -
Gem
:: Package :: TarReader :: Entry # header -> Gem :: Package :: TarHeader (21202.0) -
自身のヘッダを返します。
自身のヘッダを返します。 -
Net
:: POPMail # header(dest=& # 39;& # 39;) -> String (21202.0) -
メールヘッダを受信し、文字列として返します。
...い)
@raise TimeoutError 通信がタイムアウトした場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します... -
Net
:: HTTPResponse # header -> self (21103.0) -
互換性を保つためだけに導入されたメソッドです。 使わないでください。
互換性を保つためだけに導入されたメソッドです。
使わないでください。
自分自身を返します。 -
WEBrick
:: HTTPResponse # header -> Hash (21102.0) -
ヘッダ名をキー、ヘッダの値を値とするハッシュを返します。ハッシュのキーも値も文字列です。
ヘッダ名をキー、ヘッダの値を値とするハッシュを返します。ハッシュのキーも値も文字列です。 -
CGI
# header(options = "text / html") -> String (18250.0) -
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。
...HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。
CGI#out を使わずに自力で HTML を出力したい場合などに使います。
このメソッドは文字列エンコーディングを変換しません。
ヘッダのキ......ーとしては以下が利用可能です。
: type
Content-Type ヘッダです。デフォルトは "text/html" です。
: charset
ボディのキャラクタセットを Content-Type ヘッダに追加します。
: nph
真偽値を指定します。真ならば、HTTP のバージョン......、ステータスコード、
Date ヘッダをセットします。また Server と Connection の各ヘッダにもデフォルト値をセットします。
偽を指定する場合は、これらの値を明示的にセットしてください。
: status
HTTP のステータスコード... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (15501.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_O......F_', followed by the +type+
name, followed by '=X' where 'X' is positive integer if the +type+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocesso......r macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (15501.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...Returns the signedness of the given +type+. You may optionally
specify additional +headers+ to search in for the +type+.
If the +type+ is found and is a numeric type, a macro is passed as a
preprocessor constant to the compiler using the +type+ name, in
uppercase, prepended with 'SIGNEDNESS_O......F_', followed by the +type+
name, followed by '=X' where 'X' is positive integer if the +type+ is
unsigned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocesso......r macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
Kernel
# find _ header(header , *paths) -> bool (12325.0) -
与えられた paths から header を検索し、見つかった場合は真を返します。 そうでない場合は偽を返します。
... header を検索し、見つかった場合は真を返します。
そうでない場合は偽を返します。
ヘッダが見つかったディレクトリをコンパイラに渡すコマンドラインオプショ
ンに追加します(-I オプションを経由します)。
@param header... -
Net
:: HTTPHeader # content _ length -> Integer|nil (12301.0) -
Content-Length: ヘッダフィールドの表している値を整数で返します。
...Content-Length: ヘッダフィールドの表している値を整数で返します。
ヘッダが設定されていない場合には nil を返します。
@raise Net::HTTPHeaderSyntaxError フィールドの値が不正である場合に
発生します。......//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_length # => nil
req.content_length = 10
req.content_length # => 10
//}...