1783件ヒット
[101-200件を表示]
(0.043秒)
別のキーワード
クラス
-
Net
:: HTTP (1090) -
Net
:: HTTPGenericRequest (99) -
Net
:: HTTPResponse (132)
モジュール
-
Net
:: HTTPExceptions (11) -
Net
:: HTTPHeader (451)
キーワード
- [] (11)
- []= (11)
- active? (11)
-
add
_ field (11) - address (11)
-
basic
_ auth (11) - body (22)
- body= (11)
-
body
_ exist? (11) -
body
_ stream (11) -
body
_ stream= (11) -
ca
_ file (11) -
ca
_ file= (11) -
ca
_ path (11) -
ca
_ path= (11) -
canonical
_ each (11) - cert (11)
- cert= (11)
-
cert
_ store (11) -
cert
_ store= (11) - chunked? (11)
- ciphers (11)
- ciphers= (11)
-
close
_ on _ empty _ response (11) -
close
_ on _ empty _ response= (11) - code (11)
-
content
_ length (11) -
content
_ length= (11) -
content
_ range (11) -
content
_ type (11) -
content
_ type= (11) -
continue
_ timeout (11) -
continue
_ timeout= (11) - copy (11)
- delete (22)
- each (11)
-
each
_ capitalized (11) -
each
_ capitalized _ name (11) -
each
_ header (11) -
each
_ key (11) -
each
_ name (11) -
each
_ value (11) - entity (11)
- fetch (33)
- finish (11)
-
form
_ data= (11) - get (22)
- get2 (22)
-
get
_ fields (11) - head (11)
- head2 (22)
- header (11)
-
http
_ version (11) -
keep
_ alive _ timeout (11) -
keep
_ alive _ timeout= (11) - key (11)
- key= (11)
- key? (11)
- length (11)
-
local
_ host (11) -
local
_ host= (11) -
local
_ port (11) -
local
_ port= (11) - lock (11)
-
main
_ type (11) - method (22)
- mkcol (11)
- move (11)
- msg (11)
-
open
_ timeout (11) -
open
_ timeout= (11) - patch (22)
- path (11)
-
peer
_ cert (11) - port (11)
- post (22)
- post2 (22)
- propfind (11)
- proppatch (11)
- proxy? (11)
-
proxy
_ address (11) -
proxy
_ address= (11) -
proxy
_ basic _ auth (11) -
proxy
_ from _ env= (11) -
proxy
_ from _ env? (11) -
proxy
_ pass (11) -
proxy
_ pass= (11) -
proxy
_ port (11) -
proxy
_ port= (11) -
proxy
_ uri (11) -
proxy
_ user (11) -
proxy
_ user= (11) - proxyaddr (11)
- proxyport (11)
- put (11)
- put2 (22)
- range (11)
- range= (22)
-
range
_ length (11) -
read
_ body (22) -
read
_ timeout (11) -
read
_ timeout= (11) -
reader
_ header (11) - request (22)
-
request
_ body _ permitted? (11) -
request
_ get (22) -
request
_ head (22) -
request
_ post (22) -
request
_ put (22) - response (22)
-
response
_ body _ permitted? (11) -
send
_ request (11) -
set
_ content _ type (11) -
set
_ debug _ output (11) -
set
_ form _ data (11) -
set
_ range (33) - size (11)
-
ssl
_ timeout (11) -
ssl
_ timeout= (11) -
ssl
_ version (11) -
ssl
_ version= (11) - start (22)
- started? (11)
-
sub
_ type (11) - trace (11)
-
type
_ params (11) - unlock (11)
-
use
_ ssl= (11) -
use
_ ssl? (11) - value (11)
-
verify
_ callback (11) -
verify
_ callback= (11) -
verify
_ depth (11) -
verify
_ depth= (11) -
verify
_ mode (11) -
verify
_ mode= (11) -
write
_ timeout (6) -
write
_ timeout= (6)
検索結果
先頭5件
- Net
:: HTTP # peer _ cert -> OpenSSL :: X509 :: Certificate | nil - Net
:: HTTP # post(path , data , header = nil , dest = nil) -> Net :: HTTPResponse - Net
:: HTTP # post(path , data , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse - Net
:: HTTP # propfind(path , body , initheader = {& # 39;Depth& # 39; => & # 39;0& # 39;}) -> Net :: HTTPResponse - Net
:: HTTP # proppatch(path , body , initheader = nil) -> Net :: HTTPResponse
-
Net
:: HTTP # peer _ cert -> OpenSSL :: X509 :: Certificate | nil (6203.0) -
サーバの証明書を返します。
...サーバの証明書を返します。
SSL/TLS が有効でなかったり、接続前である場合には nil
を返します。
@see OpenSSL::SSL::SSLSocket#peer_cert... -
Net
:: HTTP # post(path , data , header = nil , dest = nil) -> Net :: HTTPResponse (6203.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...サーバ上の path にあるエンティティに対し文字列 data を
POST で送ります。
返り値は Net::HTTPResponse のインスタンスです。
ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え......。このとき戻り値の HTTPResponse オブジェクトは有効な body を
持ちません。
POST する場合にはヘッダに Content-Type: を指定する必要があります。
もし header に指定しなかったならば、 Content-Type として
"application/x-www-form-urlencoded"......取得して順次
「dest << ボディの断片」を実行します。
@param path POST先のパスを文字列で指定します。
@param header リクエストの HTTP ヘッダをハッシュで指定します。
@param dest 利用しないでください。
1.1 互換モードの場合は... -
Net
:: HTTP # post(path , data , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse (6203.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...サーバ上の path にあるエンティティに対し文字列 data を
POST で送ります。
返り値は Net::HTTPResponse のインスタンスです。
ブロックと一緒に呼びだされたときはエンティティボディを少しずつ文字列として
ブロックに与え......。このとき戻り値の HTTPResponse オブジェクトは有効な body を
持ちません。
POST する場合にはヘッダに Content-Type: を指定する必要があります。
もし header に指定しなかったならば、 Content-Type として
"application/x-www-form-urlencoded"......取得して順次
「dest << ボディの断片」を実行します。
@param path POST先のパスを文字列で指定します。
@param header リクエストの HTTP ヘッダをハッシュで指定します。
@param dest 利用しないでください。
1.1 互換モードの場合は... -
Net
:: HTTP # propfind(path , body , initheader = {& # 39;Depth& # 39; => & # 39;0& # 39;}) -> Net :: HTTPResponse (6203.0) -
サーバの path に PROPFIND リクエストを ヘッダを initheader, ボディを body として送ります。
...サーバの path に PROPFIND リクエストを
ヘッダを initheader, ボディを body として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param body リクエスト......のボディを文字列で与えます。
@param initheader リクエストのヘッダを「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Propfind... -
Net
:: HTTP # proppatch(path , body , initheader = nil) -> Net :: HTTPResponse (6203.0) -
サーバの path に PROPPATCH リクエストを ヘッダを initheader, ボディを body として送ります。
...サーバの path に PROPPATCH リクエストを
ヘッダを initheader, ボディを body として送ります。
レスポンスを Net::HTTPResponse のオブジェクト
で返します。
@param path リクエストを送るパスを文字列で与えます。
@param body リクエスト......のボディを文字列で与えます。
@param initheader リクエストのヘッダを「文字列=>文字列」の
ハッシュで与えます。
@see Net::HTTP::Proppatch... -
Net
:: HTTP # verify _ depth=(depth) (6203.0) -
証明書チェイン上の検証する最大の深さを設定します。
...証明書チェイン上の検証する最大の深さを設定します。
デフォルトは nil で、この場合 OpenSSL のデフォルト値(9)が使われます。
@param depth 最大深さを表す整数
@see Net::HTTP#verify_depth, OpenSSL::SSL::SSLContext#verify_depth=... -
Net
:: HTTPExceptions # response -> Net :: HTTPResponse (6203.0) -
例外の原因となったレスポンスオブジェクトを返します。
...レスポンスオブジェクトを返します。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/invalid.html"
response = Net::HTTP.get_response(URI.parse(uri))
begin
response.value
rescue => e
e.response # => #<Net::HTTPNotFound 404 Not Found readbody=true>
end
//}... -
Net
:: HTTPHeader # content _ type=(type) (6203.0) -
type と params から Content-Type: ヘッダフィールドの 値を設定します。
...type と params から Content-Type: ヘッダフィールドの
値を設定します。
@param type メディアタイプを文字列で指定します。
@param params パラメータ属性をハッシュで指定します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.......example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data' # => "multipart/form-data"
req.content_type # => "multipart/form-data"
//}... -
Net
:: HTTPHeader # set _ content _ type(type , params = {}) (6203.0) -
type と params から Content-Type: ヘッダフィールドの 値を設定します。
...type と params から Content-Type: ヘッダフィールドの
値を設定します。
@param type メディアタイプを文字列で指定します。
@param params パラメータ属性をハッシュで指定します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.......example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data' # => "multipart/form-data"
req.content_type # => "multipart/form-data"
//}... -
Net
:: HTTP # ca _ path -> String | nil (6103.0) -
信頼する CA 証明書ファイルが存在するディレクトリを設定します。
...信頼する CA 証明書ファイルが存在するディレクトリを設定します。
@see Net::HTTP#ca_path=, OpenSSL::SSL::SSLContext#ca_path...