ライブラリ
- ビルトイン (84)
-
cgi
/ core (36) -
cgi
/ html (24) -
cgi
/ util (12) -
net
/ http (480) -
net
/ imap (696) - openssl (12)
-
rdoc
/ context (24) -
rdoc
/ markup (12) -
rdoc
/ parser (12) -
rdoc
/ parser / c (12) -
rdoc
/ parser / ruby (12) -
rdoc
/ parser / simple (12) -
webrick
/ httpauth (12) -
webrick
/ httpauth / basicauth (12) -
webrick
/ httpproxy (12) -
webrick
/ httprequest (24) -
webrick
/ httpresponse (72) -
webrick
/ httpservlet / abstract (72)
クラス
- CGI (36)
- Class (12)
- Data (6)
-
Net
:: HTTP (324) -
Net
:: HTTPGenericRequest (84) -
Net
:: HTTPResponse (60) -
Net
:: IMAP (12) -
Net
:: IMAP :: BodyTypeBasic (156) -
Net
:: IMAP :: BodyTypeMessage (192) -
Net
:: IMAP :: BodyTypeMultipart (108) -
Net
:: IMAP :: BodyTypeText (168) -
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
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (72) -
WEBrick
:: HTTPServlet :: AbstractServlet (72)
モジュール
-
CGI
:: HtmlExtension (24) -
CGI
:: QueryExtension (12) -
RubyVM
:: AbstractSyntaxTree (30) -
WEBrick
:: HTTPAuth (12)
キーワード
- BasicAuth (12)
- BodyTypeBasic (12)
- BodyTypeMessage (12)
- BodyTypeMultipart (12)
- BodyTypeText (12)
- HTTPRequest (12)
- Markup (12)
-
NEWS for Ruby 2
. 5 . 0 (8) - OCSP (12)
- Section (12)
- attr (12)
-
basic
_ auth (12) - body= (24)
-
body
_ exist? (12) -
body
_ permitted? (12) -
body
_ stream (12) -
body
_ stream= (12) - cgi (12)
-
cgi
/ session (12) - chunked= (12)
-
clone
_ method (12) -
content
_ id (36) -
content
_ length (12) -
content
_ length= (12) -
create
_ body (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)
- entity (12)
- envelope (12)
- extension (48)
- fetch (12)
- get (24)
- get2 (24)
- head2 (24)
- header (12)
- html (24)
- inherited (12)
-
ins
_ methods _ i (12) -
ins
_ methods _ priv _ i (12) -
ins
_ methods _ prot _ i (12) - language (48)
- lines (24)
-
local
_ host= (12) -
local
_ port= (12) - lock (12)
- md5 (36)
-
media
_ subtype (48) -
media
_ type (48) - mkcol (12)
- move (12)
- multipart? (48)
-
net
/ http (12) -
net
/ imap (12) - new (48)
- of (22)
- param (48)
- parse (10)
-
parse
_ file (10) -
parser
_ for (12) - parts (12)
- patch (24)
- post (24)
- post2 (24)
- pretty (12)
- print (12)
- propfind (12)
- proppatch (12)
-
rb
_ call0 (12) -
rb
_ ensure (12) -
rb
_ get _ method _ body (12) -
rdoc
/ parser (12) -
read
_ body (24) -
request
_ body _ permitted? (12) -
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
response
_ body _ permitted? (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 9 feature (12) -
send
_ request (12) -
set
_ comment (12) - size (36)
- subtype (48)
-
to
_ s (12) - unlock (12)
-
webrick
/ cgi (12) - クラス/メソッドの定義 (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
検索結果
先頭5件
-
WEBrick
:: HTTPResponse # chunked=(flag) (6.0) -
真に設定するとクライアントに返す内容(エンティティボディ)を chunk に分けるようになります。
...に分けてクライアントに返します。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
res.chunked = true
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 09:04:28 GMT... -
WEBrick
:: HTTPResponse # to _ s -> String (6.0) -
実際にクライアントに送られるデータを文字列として返します。
...るデータを文字列として返します。
require 'webrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
res.body = 'hoge'
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 08:58:49 GMT
Server:
Content-... -
cgi (6.0)
-
CGI プログラムの支援ライブラリです。
...{
require "cgi"
cgi = CGI.new("html3") # HTML生成メソッドを追加
cgi.out() do
cgi.html() do
cgi.head{ cgi.title{"TITLE"} } +
cgi.body() do
cgi.form() do
cgi.textarea("get_text") +
cgi.br +
cgi.submit
end +
cgi.pre() do
CGI.escapeHT... -
net
/ imap (6.0) -
このライブラリは Internet Message Access Protocol (IMAP) の クライアントライブラリです。2060 を元に 実装されています。
...te("cram-md5", "bar", "password")
imap.select("inbox")
fetch_thread = Thread.start { imap.fetch(1..-1, "UID") }
search_result = imap.search(["BODY", "hello"])
fetch_result = fetch_thread.value
imap.disconnect
とすると FETCH コマンドと SEARCH コマンドを並列に実行しま... -
ruby 1
. 6 feature (6.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...last_func may not be set.
差分は以下のようです。
@@ -227,10 +227,7 @@ rb_add_method(klass, mid, node, noex)
NODE *body;
if (NIL_P(klass)) klass = rb_cObject;
- if (klass == rb_cObject) {
- rb_secure(4);
- }
- if (rb_safe_leve...