468件ヒット
[1-100件を表示]
(0.143秒)
キーワード
-
net
/ http (12) -
net
/ https (12) -
net
/ imap (12) -
net
/ protocol (12) -
optparse
/ uri (12) - prettyprint (12)
- rdoc (12)
-
rexml
/ document (12) -
rexml
/ parsers / streamparser (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / specification _ command (12) - socket (12)
- time (12)
-
webrick
/ httpauth (12) -
webrick
/ httpauth / authenticator (12) -
webrick
/ httpauth / basicauth (12) -
webrick
/ httpauth / digestauth (12) -
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httpauth / userdb (12) -
webrick
/ httpproxy (12) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ https (12) -
webrick
/ httpserver (12) -
webrick
/ httpservlet (12) -
webrick
/ httpservlet / abstract (12) -
webrick
/ httpservlet / cgihandler (12) -
webrick
/ httpservlet / erbhandler (12) -
webrick
/ httpservlet / filehandler (12) -
webrick
/ httpservlet / prochandler (12) -
webrick
/ httpstatus (12) -
webrick
/ httputils (12) -
webrick
/ httpversion (12) - yaml (12)
検索結果
-
time (26007.0)
-
組み込みの Time クラスを拡張します。 日時を表す文字列をパースして Time オブジェクトに変換したり、 逆に Time オブジェクトを RFC などで定められた文字列に 変換する機能を提供します。
... Time クラスを拡張します。
日時を表す文字列をパースして Time オブジェクトに変換したり、
逆に Time オブジェクトを RFC などで定められた文字列に
変換する機能を提供します。
* date-time は 2822 で定義されています。
* HTT......P-date は 2616 で定義されています。
* dateTime は XML Schema Part 2: Datatypes (ISO 8601) で定義されています。
* 文字列から Time オブジェクトへの変換では Date._parse により様々な形式を扱えます。... -
net
/ http (12293.0) -
汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。
...ル HTTP を扱うライブラリです。
実装は 2616 に基きます。
=== 使用例
==== ウェブサーバからドキュメントを得る (GET)
//emlist[例1: GET して 表示するだけ][ruby]{
require 'net/http'
print Net::HTTP.get('www.example.com', '/index.html')
//}
//emlist[例......et/http'
require 'uri'
print Net::HTTP.get(URI.parse('http://www.example.com/index.html'))
//}
//emlist[例3: より汎用的な例][ruby]{
require 'net/http'
require 'uri'
url = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.start(url.host, url.port) {|http|
http.get('/index.htm......l')
}
puts res.body
//}
//emlist[例4: 上の例よりさらに汎用的な例][ruby]{
require 'net/http'
url = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(url.path)
res = Net::HTTP.start(url.host, url.port) {|http|
http.request(req)
}
puts res.body
//}
==== フォ... -
net
/ https (12017.0) -
このライブラリは Ruby 1.9.2 で net/http にマージされました。 そちらを使ってください。
...このライブラリは Ruby 1.9.2 で net/http にマージされました。
そちらを使ってください。... -
webrick
/ httpauth / authenticator (12017.0) -
HTTP 認証で利用するモジュールを提供するライブラリです。
...HTTP 認証で利用するモジュールを提供するライブラリです。... -
webrick
/ httpauth / basicauth (12017.0) -
HTTP の Basic 認証のためのライブラリです。
...HTTP の Basic 認証のためのライブラリです。... -
webrick
/ httpauth / digestauth (12017.0) -
HTTP の Digest 認証のためのライブラリです。
...HTTP の Digest 認証のためのライブラリです。... -
webrick
/ httprequest (12017.0) -
HTTP リクエストのためのクラスを提供するライブラリです。
...HTTP リクエストのためのクラスを提供するライブラリです。... -
webrick
/ httpresponse (12017.0) -
HTTP のレスポンスを表すためのクラスを提供するライブラリです。
...HTTP のレスポンスを表すためのクラスを提供するライブラリです。... -
webrick
/ httpserver (12017.0) -
HTTP サーバの機能を提供するライブラリです。
...HTTP サーバの機能を提供するライブラリです。...