ライブラリ
-
net
/ http (1190)
キーワード
- active? (12)
- address (12)
-
ca
_ file (12) -
ca
_ file= (12) -
ca
_ path (12) -
ca
_ path= (12) - cert (12)
- cert= (12)
-
cert
_ store (12) -
cert
_ store= (12) - ciphers (12)
- ciphers= (12)
-
close
_ on _ empty _ response (12) -
close
_ on _ empty _ response= (12) -
continue
_ timeout (12) -
continue
_ timeout= (12) - copy (12)
- delete (12)
- finish (12)
- get (24)
- get2 (24)
- head (12)
- head2 (24)
-
keep
_ alive _ timeout (12) -
keep
_ alive _ timeout= (12) - key (12)
- key= (12)
-
local
_ host (12) -
local
_ host= (12) -
local
_ port (12) -
local
_ port= (12) - lock (12)
- mkcol (12)
- move (12)
-
open
_ timeout (12) -
open
_ timeout= (12) - patch (24)
-
peer
_ cert (12) - port (12)
- post (24)
- post2 (24)
- propfind (12)
- proppatch (12)
- proxy? (12)
-
proxy
_ address (12) -
proxy
_ address= (12) -
proxy
_ from _ env= (12) -
proxy
_ from _ env? (12) -
proxy
_ pass (12) -
proxy
_ pass= (12) -
proxy
_ port (12) -
proxy
_ port= (12) -
proxy
_ uri (12) -
proxy
_ user (12) -
proxy
_ user= (12) - proxyaddr (12)
- proxyport (12)
- put (12)
- put2 (24)
-
read
_ timeout (12) -
read
_ timeout= (12) - request (24)
-
request
_ get (24) -
request
_ head (24) -
request
_ post (24) -
request
_ put (24) -
send
_ request (12) -
set
_ debug _ output (12) -
ssl
_ timeout (12) -
ssl
_ timeout= (12) -
ssl
_ version (12) -
ssl
_ version= (12) - start (24)
- started? (12)
- trace (12)
- unlock (12)
-
use
_ ssl= (12) -
use
_ ssl? (12) -
verify
_ callback (12) -
verify
_ callback= (12) -
verify
_ depth (12) -
verify
_ depth= (12) -
verify
_ mode (12) -
verify
_ mode= (12) -
write
_ timeout (7) -
write
_ timeout= (7)
検索結果
先頭5件
- Net
:: HTTP # patch(path , data , initheader=nil , dest=nil) {|body _ segment| . . . } -> Net :: HTTPResponse - Net
:: HTTP # ciphers -> String | [String] | nil - Net
:: HTTP # copy(path , initheader = nil) -> Net :: HTTPResponse - Net
:: HTTP # delete(path , initheader = nil) -> Net :: HTTPResponse - Net
:: HTTP # get(path , header = nil , dest = nil) -> Net :: HTTPResponse
-
Net
:: HTTP # patch(path , data , initheader=nil , dest=nil) {|body _ segment| . . . } -> Net :: HTTPResponse (3302.0) -
サーバ上の path にあるエンティティに対し文字列 data を PATCH リクエストで送ります。
...トで送ります。
返り値は Net::HTTPResponse のインスタンスです。
ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与えます。このとき戻り値の HTTPResponse オブジェクトは有効な bod... -
Net
:: HTTP # ciphers -> String | [String] | nil (3202.0) -
Net::HTTP#ciphers で設定した値を返します。
...Net::HTTP#ciphers で設定した値を返します。
OpenSSL::SSL::SSLContext#ciphers が返す値とは
異なるので注意してください。
@see Net::HTTP#ciphers=... -
Net
:: HTTP # copy(path , initheader = nil) -> Net :: HTTPResponse (3202.0) -
サーバの path に COPY リクエストを ヘッダを initheader として送ります。
...の path に COPY リクエストを
ヘッダを initheader として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param initheader リクエストのヘッダを「文字列=......>文字列」の
ハッシュで与えます。
@see Net::HTTP::Copy... -
Net
:: HTTP # delete(path , initheader = nil) -> Net :: HTTPResponse (3202.0) -
サーバの path に DELETE リクエストを ヘッダを initheader として送ります。
...path に DELETE リクエストを
ヘッダを initheader として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param initheader リクエストのヘッダを「文字列=>......文字列」の
ハッシュで与えます。
@see Net::HTTP::Delete... -
Net
:: HTTP # get(path , header = nil , dest = nil) -> Net :: HTTPResponse (3202.0) -
サーバ上の path にあるエンティティを取得し、 Net::HTTPResponse のインスタンスとして返します。
...サーバ上の path にあるエンティティを取得し、
Net::HTTPResponse のインスタンスとして返します。
header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... } という......びだされたときは
エンティティボディを少しずつ文字列として
ブロックに与えます。このとき戻り値の
Net::HTTPResponse オブジェクトは有効な body を
持ちません。
dest は時代遅れの引数です。利用しないでください。
dest を......uby]{
# net/http version 1.1
response, body = http.get( '/index.html' )
# net/http version 1.2
response = http.get('/index.html')
# compatible in both version
response , = http.get('/index.html')
response.body
# compatible, using block
File.open('save.txt', 'w') {|f|
http.get('/~foo/', nil) do... -
Net
:: HTTP # get(path , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse (3202.0) -
サーバ上の path にあるエンティティを取得し、 Net::HTTPResponse のインスタンスとして返します。
...サーバ上の path にあるエンティティを取得し、
Net::HTTPResponse のインスタンスとして返します。
header が nil
でなければ、リクエストを送るときにその内容を HTTP ヘッダとして
送ります。 header は { 'Accept' = > '*/*', ... } という......びだされたときは
エンティティボディを少しずつ文字列として
ブロックに与えます。このとき戻り値の
Net::HTTPResponse オブジェクトは有効な body を
持ちません。
dest は時代遅れの引数です。利用しないでください。
dest を......uby]{
# net/http version 1.1
response, body = http.get( '/index.html' )
# net/http version 1.2
response = http.get('/index.html')
# compatible in both version
response , = http.get('/index.html')
response.body
# compatible, using block
File.open('save.txt', 'w') {|f|
http.get('/~foo/', nil) do... -
Net
:: HTTP # lock(path , body , initheader = nil) -> Net :: HTTPResponse (3202.0) -
サーバの path に LOCK リクエストを ヘッダを initheader, ボディを body として送ります。
...を initheader, ボディを body として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param body リクエストのボディを文字列で与えます。
@param initheader......リクエストのヘッダを「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Lock... -
Net
:: HTTP # mkcol(path , body , initheader = nil) -> Net :: HTTPResponse (3202.0) -
サーバの path に MKCOL リクエストを ヘッダが initheader, ボディを body として送ります。
...が initheader, ボディを body として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param body リクエストのボディを文字列で与えます。
@param initheader......リクエストのヘッダを「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Mkcol... -
Net
:: HTTP # move(path , body , initheader = nil) -> Net :: HTTPResponse (3202.0) -
サーバの path に MOVE リクエストを ヘッダが initheader, ボディを body として送ります。
...が initheader, ボディを body として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param body リクエストのボディを文字列で与えます。
@param initheader......リクエストのヘッダを「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Move...