DAZ Script |
---|
DzHttpHelper () |
DAZ Script | |
---|---|
void | abort () |
void | doAsynchronousRequest ( ByteArray content=undefined ) |
ByteArray | doSynchronousRequest ( ByteArray content=undefined ) |
String | getError () |
void | setConnectionMode ( String mode ) |
void | setContentType ( String type ) |
void | setHeaderValues ( Array keys, Array values ) |
void | setHost ( String host ) |
void | setPath ( String path ) |
void | setQueryString ( String query ) |
void | setRequestMethod ( String method ) |
void : abort()
Aborts the current request and deletes all scheduled requests.
void : doAsynchronousRequest( ByteArray content=undefined )
Sends an asynchronous request to the server.
Parameter(s):
Attention:
See Also:
ByteArray : doSynchronousRequest( ByteArray content=undefined )
Sends a synchronous request to the server.
Parameter(s):
Return Value:
Attention:
See Also:
Return Value:
void : setConnectionMode( String mode )
Sets the HTTP connection mode used for connecting to the server.
Parameter(s):
void : setContentType( String type )
Sets the value of the special HTTP header content-type field.
Parameter(s):
void : setHeaderValues( Array keys, Array values )
Parameter(s):
Attention:
keys
and values
must be the same length.Sets the host for requests.
Parameter(s):
Sets the path portion of the URL.
Parameter(s):
void : setQueryString( String query )
Sets the query string (and optionally fragment) portion of the URL.
Parameter(s):
void : setRequestMethod( String method )
Sets the HTTP request method which describes the requests action.
Parameter(s):