るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.027秒)
トップページ > クエリ:index[x] > バージョン:2.3.0[x] > クエリ:basic_auth[x] > 種類:ライブラリ[x]

別のキーワード

  1. readline basic_quote_characters
  2. readline basic_quote_characters=
  3. readline basic_word_break_characters
  4. readline basic_word_break_characters=
  5. net/http basic_auth

検索結果

net/http (130.0)

汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。

汎用データ転送プロトコル HTTP を扱うライブラリです。
実装は 2616 に基きます。

=== 使用例

==== ウェブサーバからドキュメントを得る (GET)

//emlist[例1: GET して 表示するだけ][ruby]{
require 'net/http'
print Net::HTTP.get('www.example.com', '/index.html')
//}

//emlist[例2: URI を使う][ruby]{
require 'net/http'
require 'uri'
print Net::HTTP.get(URI.parse('http://w...