1176件ヒット
[1101-1176件を表示]
(0.043秒)
種類
- インスタンスメソッド (960)
- 特異メソッド (144)
- 文書 (36)
- ライブラリ (24)
- モジュール関数 (12)
ライブラリ
- ビルトイン (84)
-
cgi
/ core (24) -
cgi
/ html (24) -
cgi
/ util (12) -
net
/ http (396) -
net
/ imap (372) -
rdoc
/ context (12) -
rdoc
/ parser (12) -
rdoc
/ parser / c (12) -
rdoc
/ parser / ruby (12) -
rdoc
/ parser / simple (12) -
webrick
/ httpauth (12) -
webrick
/ httpproxy (12) -
webrick
/ httpresponse (48) -
webrick
/ httpservlet / abstract (72)
クラス
- CGI (36)
- Class (12)
- Data (6)
-
Net
:: HTTP (324) -
Net
:: HTTPGenericRequest (48) -
Net
:: HTTPResponse (24) -
Net
:: IMAP (12) -
Net
:: IMAP :: BodyTypeBasic (96) -
Net
:: IMAP :: BodyTypeMessage (96) -
Net
:: IMAP :: BodyTypeMultipart (60) -
Net
:: IMAP :: BodyTypeText (96) -
Net
:: IMAP :: FetchData (12) -
RDoc
:: Context :: Section (12) -
RDoc
:: Parser (12) -
RDoc
:: Parser :: C (12) -
RDoc
:: Parser :: Ruby (12) -
RDoc
:: Parser :: Simple (12) -
RubyVM
:: InstructionSequence (36) -
WEBrick
:: HTTPProxyServer (12) -
WEBrick
:: HTTPResponse (48) -
WEBrick
:: HTTPServlet :: AbstractServlet (72)
モジュール
-
CGI
:: HtmlExtension (24) -
RubyVM
:: AbstractSyntaxTree (30) -
WEBrick
:: HTTPAuth (12)
キーワード
- attr (12)
-
basic
_ auth (12) - body= (24)
-
body
_ stream (12) -
body
_ stream= (12) -
cgi
/ session (12) - chunked= (12)
-
content
_ id (36) -
content
_ length (12) -
content
_ length= (12) - define (6)
- description (36)
- disasm (12)
- disassemble (12)
- disposition (48)
-
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) - encoding (36)
- fetch (12)
- get (24)
- get2 (24)
- head2 (24)
- header (12)
- html (24)
- inherited (12)
-
local
_ host= (12) -
local
_ port= (12) - lock (12)
-
media
_ subtype (48) -
media
_ type (48) - mkcol (12)
- move (12)
-
net
/ http (12) - new (48)
- of (22)
- param (48)
- parse (10)
-
parse
_ file (10) -
parser
_ for (12) - patch (24)
- post (24)
- post2 (24)
- pretty (12)
- print (12)
- propfind (12)
- proppatch (12)
-
read
_ body (24) -
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
send
_ request (12) -
set
_ comment (12) - subtype (48)
- unlock (12)
- クラス/メソッドの定義 (12)
検索結果
先頭5件
-
WEBrick
:: HTTPProxyServer . new(config , default = WEBrick :: Config :: HTTP) -> WEBrick :: HTTPProxyServer (24.0) -
プロクシオブジェクトを生成して返します。
...プロクシオブジェクトを生成して返します。
@param config 設定を保存したハッシュを指定します。
設定として有効なハッシュのキーとその値は WEBrick::HTTPServer.new と同じです。
それに加えて以下のキーが......フォルトは nil です。
//emlist{
require 'webrick'
require 'webrick/httpproxy'
handler = proc{|req, res|
res.body.gsub!(/です。/, 'でんがな。')
res.body.gsub!(/ます。/, 'まんがな。')
}
s = WEBrick::HTTPProxyServer.new(ProxyContentHandler: handler, Port: 8080)
//}
:......の Proxy の URI
を URI オブジェクトで指定します。
//emlist{
require 'uri'
require 'webrick/httpproxy'
u = URI.parse('http://localhost:18080/')
s = WEBrick::HTTPProxyServer.new(ProxyURI: u, Port: 8080)
//}
@param default デフォルトは WEBrick::Config::HTTP です。... -
ruby 1
. 8 . 3 feature (24.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...lib] [new]
: Net::HTTPHeader#content_type= [lib] [new]
: Net::HTTPHeader#set_content_type [lib] [new]
: Net::HTTPRequest#body(=) [lib] [new]
: Net::HTTPRequest#body_stream(=) [lib] [new]
追加。
: Net::HTTPHeader#each_capitalized [lib] [compat]
: Net::HTTPHeader#each_capitali......をサポートするようになりました。
PROPPATCH, LOCK, UNLOCK, OPTIONS, PROPFIND, DELETE, MOVE, COPY, MKCOL。
: Net::HTTPRequest#body_exist? [lib] [obsolete]
: Net::HTTPResponse#response [lib] [obsolete]
: Net::HTTPResponse#header [lib] [obsolete]
: Net::HTTPResponse#read_h......y-talk:144741>))
class Fred
@@foo = 99
def foo
@@foo
end
end
def Fred.foo
@@foo = 101 #=> @@foo は Fred クラスのクラス変数ではない。
end
def Fred.foo_foo
class_variable_set(:@@foo, 101) # self が Fred ク... -
CGI
# print(*strings) (22.0) -
@todo
...@todo
引数の文字列を標準出力に出力します。
cgi.print は $DEFAULT_OUTPUT.print と等価です。
例:
cgi = CGI.new
cgi.print "This line is a part of content body.\r\n"... -
Class
# inherited(subclass) -> () (18.0) -
クラスのサブクラスが定義された時、新しく生成されたサブクラスを引数 にインタプリタから呼び出されます。このメソッドが呼ばれるタイミングは クラス定義文の実行直前です。
...前です。
@param subclass プログラム内で新たに定義された自身のサブクラスです。
//emlist[例][ruby]{
class Foo
def Foo.inherited(subclass)
puts "class \"#{self}\" was inherited by \"#{subclass}\""
end
end
class Bar < Foo
puts "executing class body"
end
# => c......lass "Foo" was inherited by "Bar"
# executing class body
//}... -
Net
:: HTTP # local _ host=(host) (18.0) -
接続に用いるローカルホスト名を指定します。
...トは nil です。
@param host ホスト名、もしくはアドレスを示す文字列
//emlist[例][ruby]{
require 'net/http'
http = Net::HTTP.new("www.example.com")
http.local_host = "192.168.0.5"
http.local_port = "53043"
http.start do |h|
p h.get("/").body
end
//}
@see Net::HTTP#local... -
RDoc
:: Context :: Section # set _ comment(comment) -> () (12.0) -
自身にコメントを設定します。
...自身にコメントを設定します。
@param comment 文字列を指定します。
comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定......します。
# ---------------------
# :section: The title
# The body
# ---------------------... -
WEBrick
:: HTTPResponse # chunked=(flag) (12.0) -
真に設定するとクライアントに返す内容(エンティティボディ)を chunk に分けるようになります。
...合、この値は無視されます。
@param flag true を指定した場合、レスポンスを chunk に分けてクライアントに返します。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
res.chunked = true
print re...