Table of Contents - net/http: Ruby Standard Library Documentation
Classes and Modules
- EXCEPTION_TYPE
- EXCEPTION_TYPE
- EXCEPTION_TYPE
- EXCEPTION_TYPE
- HTTPClientException
- HTTPGatewayTimeOut
- HTTPMovedTemporarily
- HTTPMultipleChoice
- HTTPRequestEntityTooLarge
- HTTPRequestTimeOut
- HTTPRequestURITooLarge
- HTTPRequestURITooLong
- HTTPRequestURITooLong
- HTTPRequestedRangeNotSatisfiable
- Net
-
Net::HTTP
- An HTTP client API for Ruby.
- Simple Examples
- GET
- GET by URI
- GET with Dynamic Parameters
- POST
- POST with Multiple Values
- How to use Net::HTTP
- Response Data
- Following Redirection
- POST
- Setting Headers
- Basic Authentication
- Streaming Response Bodies
- HTTPS
- Proxies
- Compression
- HTTP Request Classes
- HTTP Response Classes
- Net::HTTP::Copy
- Net::HTTP::Delete
- Net::HTTP::Get
- Net::HTTP::Head
- Net::HTTP::Lock
- Net::HTTP::Mkcol
- Net::HTTP::Move
- Net::HTTP::Options
- Net::HTTP::Patch
- Net::HTTP::Post
- Net::HTTP::Propfind
- Net::HTTP::Proppatch
- Net::HTTP::Put
- Net::HTTP::Trace
- Net::HTTP::Unlock
- Net::HTTPAccepted
- Net::HTTPAlreadyReported
- Net::HTTPBadGateway
- Net::HTTPBadRequest
- Net::HTTPClientError
- Net::HTTPConflict
- Net::HTTPContinue
- Net::HTTPCreated
- Net::HTTPEarlyHints
- Net::HTTPError
- Net::HTTPExceptions
- Net::HTTPExpectationFailed
- Net::HTTPFailedDependency
- Net::HTTPFatalError
- Net::HTTPForbidden
- Net::HTTPFound
- Net::HTTPGatewayTimeout
- Net::HTTPGenericRequest
- Net::HTTPGone
- Net::HTTPHeader
- Net::HTTPIMUsed
- Net::HTTPInformation
- Net::HTTPInsufficientStorage
- Net::HTTPInternalServerError
- Net::HTTPLengthRequired
- Net::HTTPLocked
- Net::HTTPLoopDetected
- Net::HTTPMethodNotAllowed
- Net::HTTPMisdirectedRequest
- Net::HTTPMovedPermanently
- Net::HTTPMultiStatus
- Net::HTTPMultipleChoices
- Net::HTTPNetworkAuthenticationRequired
- Net::HTTPNoContent
- Net::HTTPNonAuthoritativeInformation
- Net::HTTPNotAcceptable
- Net::HTTPNotExtended
- Net::HTTPNotFound
- Net::HTTPNotImplemented
- Net::HTTPNotModified
- Net::HTTPOK
- Net::HTTPPartialContent
- Net::HTTPPayloadTooLarge
- Net::HTTPPaymentRequired
- Net::HTTPPermanentRedirect
- Net::HTTPPreconditionFailed
- Net::HTTPPreconditionRequired
- Net::HTTPProcessing
- Net::HTTPProxyAuthenticationRequired
- Net::HTTPRangeNotSatisfiable
- Net::HTTPRedirection
- Net::HTTPRequest
- Net::HTTPRequestHeaderFieldsTooLarge
- Net::HTTPRequestTimeout
- Net::HTTPResetContent
- Net::HTTPResponse
- Net::HTTPRetriableError
- Net::HTTPSeeOther
- Net::HTTPServerError
- Net::HTTPServerException
- Net::HTTPServiceUnavailable
- Net::HTTPSuccess
- Net::HTTPSwitchProtocol
- Net::HTTPTemporaryRedirect
- Net::HTTPTooManyRequests
- Net::HTTPURITooLong
- Net::HTTPUnauthorized
- Net::HTTPUnavailableForLegalReasons
- Net::HTTPUnknownResponse
- Net::HTTPUnprocessableEntity
- Net::HTTPUnsupportedMediaType
- Net::HTTPUpgradeRequired
- Net::HTTPUseProxy
- Net::HTTPVariantAlsoNegotiates
- Net::HTTPVersionNotSupported
Methods
- ::Proxy — Net::HTTP
- ::body_permitted? — Net::HTTPResponse
- ::default_port — Net::HTTP
- ::each_response_header — Net::HTTPResponse
- ::get — Net::HTTP
- ::get_print — Net::HTTP
- ::get_response — Net::HTTP
- ::http_default_port — Net::HTTP
- ::https_default_port — Net::HTTP
- ::is_version_1_2? — Net::HTTP
- ::new — Net::HTTP
- ::new — Net::HTTP
- ::new — Net::HTTPGenericRequest
- ::new — Net::HTTPRequest
- ::newobj — Net::HTTP
- ::post — Net::HTTP
- ::post_form — Net::HTTP
- ::proxy_class? — Net::HTTP
- ::read_status_line — Net::HTTPResponse
- ::response_class — Net::HTTPResponse
- ::start — Net::HTTP
- ::version_1_2 — Net::HTTP
- ::version_1_2? — Net::HTTP
- #D — Net::HTTP
- #[] — Net::HTTPHeader
- #[]= — Net::HTTPHeader
- #active? — Net::HTTP
- #add_field — Net::HTTPHeader
- #addr_port — Net::HTTP
- #append_field_value — Net::HTTPHeader
- #basic_auth — Net::HTTPHeader
- #basic_encode — Net::HTTPHeader
- #begin_transport — Net::HTTP
- #body — Net::HTTPResponse
- #body= — Net::HTTPGenericRequest
- #body= — Net::HTTPResponse
- #body_exist? — Net::HTTPGenericRequest
- #body_stream= — Net::HTTPGenericRequest
- #canonical_each — Net::HTTPHeader
- #capitalize — Net::HTTPHeader
- #chunked? — Net::HTTPHeader
- #connect — Net::HTTP
- #connection_close? — Net::HTTPHeader
- #connection_keep_alive? — Net::HTTPHeader
- #content_length — Net::HTTPHeader
- #content_length= — Net::HTTPHeader
- #content_range — Net::HTTPHeader
- #content_type — Net::HTTPHeader
- #content_type= — Net::HTTPHeader
- #continue_timeout= — Net::HTTP
- #copy — Net::HTTP
- #delete — Net::HTTP
- #delete — Net::HTTPHeader
- #do_finish — Net::HTTP
- #do_start — Net::HTTP
- #each — Net::HTTPHeader
- #each_capitalized — Net::HTTPHeader
- #each_capitalized_name — Net::HTTPHeader
- #each_header — Net::HTTPHeader
- #each_key — Net::HTTPHeader
- #each_name — Net::HTTPHeader
- #each_value — Net::HTTPHeader
- #edit_path — Net::HTTP
- #encode_multipart_form_data — Net::HTTPGenericRequest
- #end_transport — Net::HTTP
- #entity — Net::HTTPResponse
- #fetch — Net::HTTPHeader
- #finish — Net::HTTP
- #flush_buffer — Net::HTTPGenericRequest
- #form_data= — Net::HTTPHeader
- #get — Net::HTTP
- #get2 — Net::HTTP
- #get_fields — Net::HTTPHeader
- #head — Net::HTTP
- #head2 — Net::HTTP
- #initialize_http_header — Net::HTTPHeader
- #inspect — Net::HTTP
- #inspect — Net::HTTPGenericRequest
- #inspect — Net::HTTPResponse
- #ipaddr — Net::HTTP
- #ipaddr= — Net::HTTP
- #keep_alive? — Net::HTTP
- #key? — Net::HTTPHeader
- #lock — Net::HTTP
- #main_type — Net::HTTPHeader
- #max_retries= — Net::HTTP
- #mkcol — Net::HTTP
- #move — Net::HTTP
- #on_connect — Net::HTTP
- #options — Net::HTTP
- #patch — Net::HTTP
- #peer_cert — Net::HTTP
- #post — Net::HTTP
- #post2 — Net::HTTP
- #procdest — Net::HTTPResponse
- #propfind — Net::HTTP
- #proppatch — Net::HTTP
- #proxy? — Net::HTTP
- #proxy_address — Net::HTTP
- #proxy_basic_auth — Net::HTTPHeader
- #proxy_from_env? — Net::HTTP
- #proxy_pass — Net::HTTP
- #proxy_port — Net::HTTP
- #proxy_user — Net::HTTP
- #proxyaddr — Net::HTTP
- #proxyport — Net::HTTP
- #quote_string — Net::HTTPGenericRequest
- #range — Net::HTTPHeader
- #range= — Net::HTTPHeader
- #range_length — Net::HTTPHeader
- #read_body — Net::HTTPResponse
- #read_body_0 — Net::HTTPResponse
- #read_timeout= — Net::HTTP
- #request — Net::HTTP
- #request_body_permitted? — Net::HTTPGenericRequest
- #request_get — Net::HTTP
- #request_head — Net::HTTP
- #request_post — Net::HTTP
- #response_body_permitted? — Net::HTTPGenericRequest
- #send_entity — Net::HTTP
- #send_request — Net::HTTP
- #send_request_with_body — Net::HTTPGenericRequest
- #send_request_with_body_data — Net::HTTPGenericRequest
- #send_request_with_body_stream — Net::HTTPGenericRequest
- #set_content_type — Net::HTTPHeader
- #set_debug_output — Net::HTTP
- #set_field — Net::HTTPHeader
- #set_form — Net::HTTPHeader
- #set_form_data — Net::HTTPHeader
- #set_range — Net::HTTPHeader
- #sspi_auth — Net::HTTP
- #sspi_auth? — Net::HTTP
- #start — Net::HTTP
- #started? — Net::HTTP
- #stream_check — Net::HTTPResponse
- #sub_type — Net::HTTPHeader
- #supply_default_content_type — Net::HTTPGenericRequest
- #to_hash — Net::HTTPHeader
- #trace — Net::HTTP
- #transport_request — Net::HTTP
- #type_params — Net::HTTPHeader
- #unlock — Net::HTTP
- #use_ssl= — Net::HTTP
- #use_ssl? — Net::HTTP
- #value — Net::HTTPResponse
- #wait_for_continue — Net::HTTPGenericRequest
- #write_header — Net::HTTPGenericRequest
- #write_timeout= — Net::HTTP