2583件ヒット
[1-100件を表示]
(0.062秒)
種類
ライブラリ
- English (11)
- ビルトイン (246)
-
cgi
/ core (11) -
net
/ http (946) - open-uri (90)
- optparse (132)
-
rexml
/ document (253) -
rexml
/ streamlistener (11) - socket (55)
- un (11)
- uri (113)
-
webrick
/ httprequest (11) -
webrick
/ httpservlet / cgihandler (11) - win32ole (55)
クラス
- Addrinfo (22)
- CGI (11)
- Data (4)
- Dir (11)
- Module (33)
-
Net
:: HTTP (286) -
Net
:: HTTPGenericRequest (88) -
Net
:: HTTPResponse (132) - OptionParser (132)
-
REXML
:: Attribute (11) -
REXML
:: Attributes (132) -
REXML
:: DocType (44) -
REXML
:: Document (22) -
REXML
:: Element (11) - Socket (33)
-
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPServlet :: CGIHandler (11) - WIN32OLE (11)
-
WIN32OLE
_ EVENT (22) -
WIN32OLE
_ TYPE (11)
モジュール
- Kernel (189)
-
Net
:: HTTPExceptions (11) -
Net
:: HTTPHeader (407) -
OpenURI
:: Meta (88) -
REXML
:: Security (22) -
REXML
:: StreamListener (11) - URI (113)
キーワード
-
$ & (11) -
$ & # 39; (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ LAST _ PAREN _ MATCH (11) -
$ ` (11) -
$ ~ (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
CODE
_ CLASS _ TO _ OBJ (11) -
CODE
_ TO _ OBJ (11) - Cygwin (11)
- EXXX (11)
- GC (11)
- GNU (11)
- HTTPRequest (11)
- HTTPServerException (11)
- Lazy (11)
- Mac OS X (11)
- MinGW (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - NotationDecl (11)
- Proxy (11)
- ReFe (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Ruby用語集 (11)
-
WIN32OLE
_ EVENT (11) - [] (22)
- []= (22)
-
add
_ field (11) - attribute (11)
-
base
_ uri (11) -
basic
_ auth (11) - body (22)
- body= (11)
-
body
_ permitted? (11) -
body
_ stream (11) -
body
_ stream= (11) - cgi (11)
-
cgi
/ session (11) - charset (22)
- chroot (11)
- chunked? (11)
- code (11)
- connect (11)
-
connect
_ from (22) -
content
_ encoding (11) -
content
_ length (11) -
content
_ length= (11) -
content
_ range (11) -
content
_ type (22) -
content
_ type= (11) -
default
_ event _ sources (11) - define (4)
- delete (22)
-
delete
_ all (11) - drb (11)
-
drb
/ gw (11) - each (22)
-
each
_ attribute (11) -
each
_ capitalized _ name (11) -
each
_ header (11) -
each
_ key (11) -
each
_ name (11) -
each
_ value (11) - encode (7)
- entity (11)
-
entity
_ expansion _ text _ limit (22) -
entity
_ expansion _ text _ limit= (22) - entitydecl (11)
- escape (7)
-
external
_ id (11) - extract (44)
- fetch (33)
-
form
_ data= (11) - get (22)
- get2 (22)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
get
_ fields (11) -
get
_ print (22) - handler= (11)
- head (11)
- head2 (22)
- header (11)
-
http
_ version (11) - httpd (11)
- inspect (11)
- join (11)
- key? (11)
-
last
_ modified (11) - length (11)
-
local
_ host= (11) -
local
_ port= (11) -
main
_ type (11) - method (22)
- msg (11)
- name (22)
- namespace (11)
- namespaces (11)
-
net
/ http (11) -
net
/ https (11) -
ole
_ query _ interface (11) - on (132)
- open (2)
- open-uri (11)
-
optparse
/ uri (11) - parse (11)
- path (11)
- post (22)
- post2 (22)
- prefixes (11)
- prettyprint (11)
-
proxy
_ basic _ auth (11) - psych (11)
- public (11)
- query (11)
- range (11)
- range= (22)
-
range
_ length (11) - rdoc (11)
-
read
_ body (22) - regexp (22)
-
request
_ body _ permitted? (11) -
request
_ get (22) -
request
_ head (22) -
request
_ post (22) - response (11)
-
response
_ body _ permitted? (11) - rexml (11)
-
rexml
/ document (11) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
rinda
/ rinda (11) - rss (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
ruby 1
. 9 feature (11) - rubygems (11)
-
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / outdated _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / server _ command (11) -
rubygems
/ commands / specification _ command (11) -
send
_ request (11) -
set
_ content _ type (11) -
set
_ debug _ output (11) -
set
_ form _ data (11) -
set
_ range (33) - size (11)
- socket (11)
- split (11)
- start (22)
- status (11)
-
sub
_ type (11) - system (11)
- tcp (22)
-
to
_ s (11) -
type
_ params (11) - value (11)
- webrick (11)
-
webrick
/ cgi (11) - win32ole (11)
- xmlrpc (3)
- yaml (11)
- クラス/メソッドの定義 (11)
- メソッド呼び出し(super・ブロック付き・yield) (11)
検索結果
先頭5件
-
Net
:: HTTPResponse # http _ version -> String (21147.0) -
サーバがサポートしている HTTP のバージョンを文字列で返します。
...サーバがサポートしている HTTP のバージョンを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.http_version # => "1.1"
//}... -
WEBrick
:: HTTPServlet :: CGIHandler :: Ruby -> String (21117.0) -
Ruby のパスを返します。
...
Ruby のパスを返します。... -
Kernel
# httpd -> () (18134.0) -
WEBrick HTTP server を起動します。
...WEBrick HTTP server を起動します。
ruby -run -e httpd -- [OPTION] [DocumentRoot]
--bind-address=ADDR バインドアドレスを指定します
--port=NUM ポート番号を指定します
--max-clients=MAX 同時接続数の最大値
--temp-dir......一時ディレクトリを指定します
--do-not-reverse-lookup 逆引きを無効にします
--request-timeout=SECOND リクエストがタイムアウトする秒数を指定します
--http-version=VERSION HTTP version
-v 詳細表示......逆引きを無効にします
--request-timeout=SECOND リクエストがタイムアウトする秒数を指定します
--http-version=VERSION HTTP version
--ssl-certificate=CERT サーバーの SSL 証明書ファイルを指定します
--ssl-private-key=KEY サー......逆引きを無効にします
--request-timeout=SECOND リクエストがタイムアウトする秒数を指定します
--http-version=VERSION HTTP version
--server-name=NAME サーバーのホスト名を指定します
--server-software=NAME サーバーの名... -
net
/ http (6352.0) -
汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。
...データ転送プロトコル HTTP を扱うライブラリです。
実装は 2616 に基きます。
=== 使用例
==== ウェブサーバからドキュメントを得る (GET)
//emlist[例1: GET して 表示するだけ][ruby]{
require 'net/http'
print Net::HTTP.get('www.example.com', '/ind......][ruby]{
require 'net/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|
h......][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
//}
==== フォームの情報を送信する (POST)
//emlist[例][ruby]{
require 'net/http'
re... -
Net
:: HTTPRequest (6142.0) -
HTTP リクエストを抽象化するクラスです。
...HTTP リクエストを抽象化するクラスです。
Net::HTTPRequest は抽象クラスなので実際にはサブクラスの
* Net::HTTP::Get
* Net::HTTP::Head
* Net::HTTP::Post
* Net::HTTP::Put
* Net::HTTP::Copy
* Net::HTTP::Delete
* Net::HTTP::Lock
* Net::HTTP::Mkcol
* N......et::HTTP::Move
* Net::HTTP::Options
* Net::HTTP::Propfind
* Net::HTTP::Patch
* Net::HTTP::Proppatch
* Net::HTTP::Trace
* Net::HTTP::Unlock
を使用してください。
=== 例
//emlist[][ruby]{
require 'net/http'
http = Net::HTTP.new('www.example.com', 80)
req = Net::HTTP::Get.new('....../somefile')
res = http.request(req)
print res.body
//}... -
rubygems (6066.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
===[a:gem_command] gem コマンドの使い方
$ gem help
RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポ......(e.g. 'gem help install')
より詳しい情報:
https://rubygems.org
==== Gem パッケージをインストールする
例えば rak ( https://rubygems.org/gems/rak ) をインストールするには、以下のいずれかを実行しま......トールする
Proxy サーバ経由で Gem パッケージをインストールするには以下のようにします。
$ gem install rak -p http://user:password@proxy.example.com/
==== Gem パッケージをアンインストールする
例えば rak をアンインストールするに... -
rubygems
/ commands / install _ command (6042.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
...ッケージをインストールします
--[no-]format-executable Make installed executable names match ruby.
If ruby is ruby18, foo_exec will be
foo_exec18
Local/Remote Options:
-l, --local......--source URL Gem パッケージのリモートリポジトリの URL を指定します
--[no-]http-proxy [URL] リモートの操作に HTTP プロクシを使用します
-u, --[no-]update-sources ローカルソースキャッシュを更新しま......た設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
GEMNAME インストールする Gem パッケージ... -
rubygems
/ commands / server _ command (6040.0) -
ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに 載せて公開するためのライブラリです。
...ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに
載せて公開するためのライブラリです。
Usage: gem server [options]
Options:
-p, --port=PORT port to listen on
-d, --dir=GEMDIR......trace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Summary:
Documentation and gem repository HTTP server
Description:
The server command starts up a web server that h......The cache files for installed gems must exist to use the server as a source
for gem installation.
To install gems from a running server, use `gem install GEMNAME --source
http://gem_server_host:8808`
Defaults:
--port 8808 --dir /usr/lib/ruby/gems/1.8 --no-daemon... -
net
/ https (6032.0) -
このライブラリは Ruby 1.9.2 で net/http にマージされました。 そちらを使ってください。
...このライブラリは Ruby 1.9.2 で net/http にマージされました。
そちらを使ってください。... -
Net
:: HTTPServerException (6022.0) -
HTTP ステータスコード 4xx を受け取ったという例外です。
...HTTP ステータスコード 4xx を受け取ったという例外です。
クライアントのリクエストに誤りがあるか、サーバにリクエストを拒否さ
れた(認証が必要、リソースが存在しないなどで)ことを示します。
Net::HTTPServerException は Ru......by 2.6 から deprecated になりました。
Net::HTTPClientException を使用してください。...