2823件ヒット
[1-100件を表示]
(0.039秒)
種類
ライブラリ
- English (12)
- ビルトイン (270)
-
cgi
/ core (12) -
net
/ http (1032) - open-uri (100)
- optparse (144)
-
rexml
/ document (276) -
rexml
/ streamlistener (12) - socket (60)
- un (12)
- uri (122)
-
webrick
/ httprequest (12) -
webrick
/ httpservlet / cgihandler (12) - win32ole (60)
クラス
- Addrinfo (24)
- CGI (12)
- Data (6)
- Dir (12)
- Module (36)
-
Net
:: HTTP (312) -
Net
:: HTTPGenericRequest (96) -
Net
:: HTTPResponse (144) - OptionParser (144)
-
REXML
:: Attribute (12) -
REXML
:: Attributes (144) -
REXML
:: DocType (48) -
REXML
:: Document (24) -
REXML
:: Element (12) - Socket (36)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPServlet :: CGIHandler (12) - WIN32OLE (12)
-
WIN32OLE
_ EVENT (24) -
WIN32OLE
_ TYPE (12)
モジュール
- Kernel (208)
-
Net
:: HTTPExceptions (12) -
Net
:: HTTPHeader (444) -
OpenURI
:: Meta (96) -
REXML
:: Security (24) -
REXML
:: StreamListener (12) - URI (122)
キーワード
-
$ & (12) -
$ & # 39; (12) -
$ 1 (12) -
$ 10 (12) -
$ 11 (12) -
$ 2 (12) -
$ 3 (12) -
$ 4 (12) -
$ 5 (12) -
$ 6 (12) -
$ 7 (12) -
$ 8 (12) -
$ 9 (12) -
$ LAST _ PAREN _ MATCH (12) -
$ ` (12) -
$ ~ (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
CODE
_ CLASS _ TO _ OBJ (12) -
CODE
_ TO _ OBJ (12) - Cygwin (12)
- EXXX (12)
- GC (12)
- GNU (12)
- HTTPRequest (12)
- HTTPServerException (12)
- Lazy (12)
- Mac OS X (12)
- MinGW (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - NotationDecl (12)
- Proxy (12)
- ReFe (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- Ruby用語集 (12)
-
WIN32OLE
_ EVENT (12) - [] (24)
- []= (24)
-
add
_ field (12) - attribute (12)
-
base
_ uri (12) -
basic
_ auth (12) - body (24)
- body= (12)
-
body
_ permitted? (12) -
body
_ stream (12) -
body
_ stream= (12) - cgi (12)
-
cgi
/ session (12) - charset (24)
- chroot (12)
- chunked? (12)
- code (12)
- connect (12)
-
connect
_ from (24) -
content
_ encoding (12) -
content
_ length (12) -
content
_ length= (12) -
content
_ range (12) -
content
_ type (24) -
content
_ type= (12) -
default
_ event _ sources (12) - define (6)
- delete (24)
-
delete
_ all (12) - drb (12)
-
drb
/ gw (12) - each (24)
-
each
_ attribute (12) -
each
_ capitalized _ name (12) -
each
_ header (12) -
each
_ key (12) -
each
_ name (12) -
each
_ value (12) - encode (7)
- entity (12)
-
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - entitydecl (12)
- escape (7)
-
external
_ id (12) - extract (48)
- fetch (36)
-
form
_ data= (12) - get (24)
- get2 (24)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ fields (12) -
get
_ print (24) - handler= (12)
- head (12)
- head2 (24)
- header (12)
-
http
_ version (12) - httpd (12)
- inspect (12)
- join (12)
- key? (12)
-
last
_ modified (12) - length (12)
-
local
_ host= (12) -
local
_ port= (12) -
main
_ type (12) - method (24)
- msg (12)
- name (24)
- namespace (12)
- namespaces (12)
-
net
/ http (12) -
net
/ https (12) -
ole
_ query _ interface (12) - on (144)
- open (4)
- open-uri (12)
-
optparse
/ uri (12) - parse (12)
- path (12)
- post (24)
- post2 (24)
- prefixes (12)
- prettyprint (12)
-
proxy
_ basic _ auth (12) - psych (12)
- public (12)
- query (12)
- range (12)
- range= (24)
-
range
_ length (12) - rdoc (12)
-
read
_ body (24) - regexp (24)
-
request
_ body _ permitted? (12) -
request
_ get (24) -
request
_ head (24) -
request
_ post (24) - response (12)
-
response
_ body _ permitted? (12) - rexml (12)
-
rexml
/ document (12) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
rinda
/ rinda (12) - rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 8 . 5 feature (12) -
ruby 1
. 9 feature (12) - rubygems (12)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / query _ command (12) -
rubygems
/ commands / search _ command (12) -
rubygems
/ commands / server _ command (12) -
rubygems
/ commands / specification _ command (12) -
send
_ request (12) -
set
_ content _ type (12) -
set
_ debug _ output (12) -
set
_ form _ data (12) -
set
_ range (36) - size (12)
- socket (12)
- split (12)
- start (24)
- status (12)
-
sub
_ type (12) - system (12)
- tcp (24)
-
to
_ s (12) -
type
_ params (12) - value (12)
- webrick (12)
-
webrick
/ cgi (12) - win32ole (12)
- xmlrpc (3)
- yaml (12)
- クラス/メソッドの定義 (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
検索結果
先頭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 にマージされました。
そちらを使ってください。...