るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.151秒)
トップページ > バージョン:2.3.0[x] > クエリ:t[x] > クエリ:-[x] > クエリ:>[x] > クエリ:response[x] > クエリ:text[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

モジュール

キーワード

検索結果

Net::IMAP::ResponseText#text -> String (91204.0)

応答のテキストを文字列で返します。

応答のテキストを文字列で返します。

Net::IMAP::TaggedResponse#data -> Net::IMAP::ResponseText (28501.0)

レスポンスを解析したオブジェクトを返します。

レスポンスを解析したオブジェクトを返します。

@see Net::IMAP::ResponseText

Net::IMAP::ResponseText#code -> Net::IMAP::ResponseCode | nil (28201.0)

レスポンスコードを返します。

レスポンスコードを返します。

応答がレスポンスコードを含んでいない場合は nil を返します。

@see Net::IMAP::ResponseCode

Net::IMAP::ContinuationRequest#data -> Net::IMAP::ResponseText (19501.0)

レスポンスのデータを返します。

レスポンスのデータを返します。

Net::HTTPHeader#main_type -> String|nil (19051.0)

"text/html" における "text" のようなタイプを表す 文字列を返します。

"text/html" における "text" のようなタイプを表す
文字列を返します。

Content-Type: ヘッダフィールドが存在しない場合には nil を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_response(uri)
res.main_type # => "text"
//}

絞り込み条件を変える

Net::HTTPHeader#sub_type -> String|nil (18985.0)

"text/html" における "html" のようなサブタイプを表す 文字列を返します。

"text/html" における "html" のようなサブタイプを表す
文字列を返します。

Content-Type: ヘッダフィールドが存在しない場合には nil を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/index.html')
res = Net::HTTP.get_response(uri)
res.sub_type # => "html"
//}