RestRequest

Inherits: Reference < Object

Properties

type name
String url
Dictionary headers
int method
PoolByteArray body

Methods

return type signature
RestRequest url ( String _url )
RestRequest headers ( Dictionary _headers )
RestRequest set_header ( String name, String value )
RestRequest method ( int _method )
RestRequest method_get ( )
RestRequest method_head ( )
RestRequest method_post ( )
RestRequest method_put ( )
RestRequest method_delete ( )
RestRequest method_options ( )
RestRequest method_trace ( )
RestRequest method_connect ( )
RestRequest method_patch ( )
RestRequest body ( PoolByteArray data )
RestRequest json_body ( Variant data )
RestRequest empty_body ( )
String get_header ( String name )
bool has_header ( Variant name )
HTTPResponse send_async ( )

Property Descriptions

  • String url

    There is currently no description for this property.


  • Dictionary headers

    There is currently no description for this property.


  • int method

    There is currently no description for this property.


  • PoolByteArray body

    There is currently no description for this property.

Method Descriptions

  • RestRequest url ( String _url )

    There is currently no description for this method.


  • RestRequest headers ( Dictionary _headers )

    There is currently no description for this method.


  • RestRequest set_header ( String name, String value )

    There is currently no description for this method.


  • RestRequest method ( int _method )

    There is currently no description for this method.


  • RestRequest method_get ( )

    There is currently no description for this method.


  • RestRequest method_head ( )

    There is currently no description for this method.


  • RestRequest method_post ( )

    There is currently no description for this method.


  • RestRequest method_put ( )

    There is currently no description for this method.


  • RestRequest method_delete ( )

    There is currently no description for this method.


  • RestRequest method_options ( )

    There is currently no description for this method.


  • RestRequest method_trace ( )

    There is currently no description for this method.


  • RestRequest method_connect ( )

    There is currently no description for this method.


  • RestRequest method_patch ( )

    There is currently no description for this method.


  • RestRequest body ( PoolByteArray data )

    There is currently no description for this method.


  • RestRequest json_body ( Variant data )

    There is currently no description for this method.


  • RestRequest empty_body ( )

    There is currently no description for this method.


  • String get_header ( String name )

    There is currently no description for this method.


  • bool has_header ( Variant name )

    There is currently no description for this method.


  • HTTPResponse send_async ( )

    There is currently no description for this method.