.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/HTTPClient.xml. .. _class_HTTPClient: HTTPClient ========== **Inherits:** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------+-------------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`blocking_mode_enabled` | ``false`` | +-------------------------------------+-------------------------------------------------------------------------------+-----------+ | :ref:`StreamPeer` | :ref:`connection` | | +-------------------------------------+-------------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`read_chunk_size` | ``65536`` | +-------------------------------------+-------------------------------------------------------------------------------+-----------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`close` **(** **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`connect_to_host` **(** :ref:`String` host, :ref:`int` port=-1, :ref:`TLSOptions` tls_options=null **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_response_body_length` **(** **)** |const| | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_response_code` **(** **)** |const| | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedStringArray` | :ref:`get_response_headers` **(** **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`get_response_headers_as_dictionary` **(** **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Status` | :ref:`get_status` **(** **)** |const| | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_response` **(** **)** |const| | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_response_chunked` **(** **)** |const| | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`poll` **(** **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`query_string_from_dict` **(** :ref:`Dictionary` fields **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedByteArray` | :ref:`read_response_body_chunk` **(** **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`request` **(** :ref:`Method` method, :ref:`String` url, :ref:`PackedStringArray` headers, :ref:`String` body="" **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Error` | :ref:`request_raw` **(** :ref:`Method` method, :ref:`String` url, :ref:`PackedStringArray` headers, :ref:`PackedByteArray` body **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_http_proxy` **(** :ref:`String` host, :ref:`int` port **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_https_proxy` **(** :ref:`String` host, :ref:`int` port **)** | +---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_HTTPClient_Method: .. rst-class:: classref-enumeration enum **Method**: .. _class_HTTPClient_constant_METHOD_GET: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_GET** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_HEAD: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_HEAD** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_POST: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_POST** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_PUT: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_PUT** = ``3`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_DELETE: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_DELETE** = ``4`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_OPTIONS: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_OPTIONS** = ``5`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_TRACE: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_TRACE** = ``6`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_CONNECT: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_CONNECT** = ``7`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_PATCH: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_PATCH** = ``8`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_METHOD_MAX: .. rst-class:: classref-enumeration-constant :ref:`Method` **METHOD_MAX** = ``9`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_HTTPClient_Status: .. rst-class:: classref-enumeration enum **Status**: .. _class_HTTPClient_constant_STATUS_DISCONNECTED: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_DISCONNECTED** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_RESOLVING: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_RESOLVING** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_CANT_RESOLVE: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_CANT_RESOLVE** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_CONNECTING: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_CONNECTING** = ``3`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_CANT_CONNECT: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_CANT_CONNECT** = ``4`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_CONNECTED: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_CONNECTED** = ``5`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_REQUESTING: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_REQUESTING** = ``6`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_BODY: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_BODY** = ``7`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_CONNECTION_ERROR: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_CONNECTION_ERROR** = ``8`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_STATUS_TLS_HANDSHAKE_ERROR: .. rst-class:: classref-enumeration-constant :ref:`Status` **STATUS_TLS_HANDSHAKE_ERROR** = ``9`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_HTTPClient_ResponseCode: .. rst-class:: classref-enumeration enum **ResponseCode**: .. _class_HTTPClient_constant_RESPONSE_CONTINUE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_CONTINUE** = ``100`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_SWITCHING_PROTOCOLS: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_SWITCHING_PROTOCOLS** = ``101`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_PROCESSING: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_PROCESSING** = ``102`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_OK: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_OK** = ``200`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_CREATED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_CREATED** = ``201`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_ACCEPTED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_ACCEPTED** = ``202`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NON_AUTHORITATIVE_INFORMATION: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NON_AUTHORITATIVE_INFORMATION** = ``203`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NO_CONTENT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NO_CONTENT** = ``204`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_RESET_CONTENT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_RESET_CONTENT** = ``205`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_PARTIAL_CONTENT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_PARTIAL_CONTENT** = ``206`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_MULTI_STATUS: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_MULTI_STATUS** = ``207`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_ALREADY_REPORTED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_ALREADY_REPORTED** = ``208`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_IM_USED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_IM_USED** = ``226`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_MULTIPLE_CHOICES: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_MULTIPLE_CHOICES** = ``300`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_MOVED_PERMANENTLY: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_MOVED_PERMANENTLY** = ``301`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_FOUND: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_FOUND** = ``302`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_SEE_OTHER: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_SEE_OTHER** = ``303`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NOT_MODIFIED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NOT_MODIFIED** = ``304`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_USE_PROXY: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_USE_PROXY** = ``305`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_SWITCH_PROXY: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_SWITCH_PROXY** = ``306`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_TEMPORARY_REDIRECT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_TEMPORARY_REDIRECT** = ``307`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_PERMANENT_REDIRECT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_PERMANENT_REDIRECT** = ``308`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_BAD_REQUEST: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_BAD_REQUEST** = ``400`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_UNAUTHORIZED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_UNAUTHORIZED** = ``401`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_PAYMENT_REQUIRED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_PAYMENT_REQUIRED** = ``402`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_FORBIDDEN: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_FORBIDDEN** = ``403`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NOT_FOUND: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NOT_FOUND** = ``404`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_METHOD_NOT_ALLOWED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_METHOD_NOT_ALLOWED** = ``405`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NOT_ACCEPTABLE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NOT_ACCEPTABLE** = ``406`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_PROXY_AUTHENTICATION_REQUIRED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_PROXY_AUTHENTICATION_REQUIRED** = ``407`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_REQUEST_TIMEOUT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_REQUEST_TIMEOUT** = ``408`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_CONFLICT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_CONFLICT** = ``409`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_GONE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_GONE** = ``410`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_LENGTH_REQUIRED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_LENGTH_REQUIRED** = ``411`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_PRECONDITION_FAILED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_PRECONDITION_FAILED** = ``412`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_REQUEST_ENTITY_TOO_LARGE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_REQUEST_ENTITY_TOO_LARGE** = ``413`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_REQUEST_URI_TOO_LONG: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_REQUEST_URI_TOO_LONG** = ``414`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_UNSUPPORTED_MEDIA_TYPE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_UNSUPPORTED_MEDIA_TYPE** = ``415`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_REQUESTED_RANGE_NOT_SATISFIABLE** = ``416`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_EXPECTATION_FAILED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_EXPECTATION_FAILED** = ``417`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_IM_A_TEAPOT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_IM_A_TEAPOT** = ``418`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_MISDIRECTED_REQUEST: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_MISDIRECTED_REQUEST** = ``421`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_UNPROCESSABLE_ENTITY: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_UNPROCESSABLE_ENTITY** = ``422`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_LOCKED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_LOCKED** = ``423`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_FAILED_DEPENDENCY: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_FAILED_DEPENDENCY** = ``424`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_UPGRADE_REQUIRED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_UPGRADE_REQUIRED** = ``426`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_PRECONDITION_REQUIRED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_PRECONDITION_REQUIRED** = ``428`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_TOO_MANY_REQUESTS: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_TOO_MANY_REQUESTS** = ``429`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_REQUEST_HEADER_FIELDS_TOO_LARGE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_REQUEST_HEADER_FIELDS_TOO_LARGE** = ``431`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_UNAVAILABLE_FOR_LEGAL_REASONS: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_UNAVAILABLE_FOR_LEGAL_REASONS** = ``451`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_INTERNAL_SERVER_ERROR: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_INTERNAL_SERVER_ERROR** = ``500`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NOT_IMPLEMENTED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NOT_IMPLEMENTED** = ``501`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_BAD_GATEWAY: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_BAD_GATEWAY** = ``502`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_SERVICE_UNAVAILABLE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_SERVICE_UNAVAILABLE** = ``503`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_GATEWAY_TIMEOUT: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_GATEWAY_TIMEOUT** = ``504`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_HTTP_VERSION_NOT_SUPPORTED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_HTTP_VERSION_NOT_SUPPORTED** = ``505`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_VARIANT_ALSO_NEGOTIATES: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_VARIANT_ALSO_NEGOTIATES** = ``506`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_INSUFFICIENT_STORAGE: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_INSUFFICIENT_STORAGE** = ``507`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_LOOP_DETECTED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_LOOP_DETECTED** = ``508`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NOT_EXTENDED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NOT_EXTENDED** = ``510`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_HTTPClient_constant_RESPONSE_NETWORK_AUTH_REQUIRED: .. rst-class:: classref-enumeration-constant :ref:`ResponseCode` **RESPONSE_NETWORK_AUTH_REQUIRED** = ``511`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_HTTPClient_property_blocking_mode_enabled: .. rst-class:: classref-property :ref:`bool` **blocking_mode_enabled** = ``false`` .. rst-class:: classref-property-setget - void **set_blocking_mode** **(** :ref:`bool` value **)** - :ref:`bool` **is_blocking_mode_enabled** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_property_connection: .. rst-class:: classref-property :ref:`StreamPeer` **connection** .. rst-class:: classref-property-setget - void **set_connection** **(** :ref:`StreamPeer` value **)** - :ref:`StreamPeer` **get_connection** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_property_read_chunk_size: .. rst-class:: classref-property :ref:`int` **read_chunk_size** = ``65536`` .. rst-class:: classref-property-setget - void **set_read_chunk_size** **(** :ref:`int` value **)** - :ref:`int` **get_read_chunk_size** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_HTTPClient_method_close: .. rst-class:: classref-method void **close** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_connect_to_host: .. rst-class:: classref-method :ref:`Error` **connect_to_host** **(** :ref:`String` host, :ref:`int` port=-1, :ref:`TLSOptions` tls_options=null **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_get_response_body_length: .. rst-class:: classref-method :ref:`int` **get_response_body_length** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_get_response_code: .. rst-class:: classref-method :ref:`int` **get_response_code** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_get_response_headers: .. rst-class:: classref-method :ref:`PackedStringArray` **get_response_headers** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_get_response_headers_as_dictionary: .. rst-class:: classref-method :ref:`Dictionary` **get_response_headers_as_dictionary** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_get_status: .. rst-class:: classref-method :ref:`Status` **get_status** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_has_response: .. rst-class:: classref-method :ref:`bool` **has_response** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_is_response_chunked: .. rst-class:: classref-method :ref:`bool` **is_response_chunked** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_poll: .. rst-class:: classref-method :ref:`Error` **poll** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_query_string_from_dict: .. rst-class:: classref-method :ref:`String` **query_string_from_dict** **(** :ref:`Dictionary` fields **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_read_response_body_chunk: .. rst-class:: classref-method :ref:`PackedByteArray` **read_response_body_chunk** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_request: .. rst-class:: classref-method :ref:`Error` **request** **(** :ref:`Method` method, :ref:`String` url, :ref:`PackedStringArray` headers, :ref:`String` body="" **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_request_raw: .. rst-class:: classref-method :ref:`Error` **request_raw** **(** :ref:`Method` method, :ref:`String` url, :ref:`PackedStringArray` headers, :ref:`PackedByteArray` body **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_set_http_proxy: .. rst-class:: classref-method void **set_http_proxy** **(** :ref:`String` host, :ref:`int` port **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_HTTPClient_method_set_https_proxy: .. rst-class:: classref-method void **set_https_proxy** **(** :ref:`String` host, :ref:`int` port **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`