Sets RPC request settings.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(rpc_request_type), | intent(inout) | :: | request | |||
integer, | intent(in), | optional | :: | auth |
HTTP Auth. |
|
integer, | intent(in), | optional | :: | method |
HTTP method (GET, POST). |
|
integer, | intent(in), | optional | :: | compression |
Use deflate or zstd compression ( |
|
integer, | intent(in), | optional | :: | connect_timeout |
Connection timeout in seconds. |
|
integer, | intent(in), | optional | :: | timeout |
Timeout in seconds. |
|
integer(kind=i8), | intent(in), | optional | :: | modified_since |
If-modified-since timestamp (Epoch). |
|
logical, | intent(in), | optional | :: | follow_location |
Follow HTTP 3xx redirects. |
|
character(len=*), | intent(in), | optional | :: | payload |
Request payload. |
|
character(len=*), | intent(in), | optional | :: | content_type |
Request payload type (MIME). |
|
character(len=*), | intent(in), | optional | :: | accept |
HTTP Accept header. |
|
character(len=*), | intent(in), | optional | :: | username |
HTTP Basic Auth user name. |
|
character(len=*), | intent(in), | optional | :: | password |
HTTP Basic Auth password. |
|
character(len=*), | intent(in), | optional | :: | url |
Request URL. |
|
character(len=*), | intent(in), | optional | :: | user_agent |
User Agent. |
|
procedure(dm_rpc_callback), | optional | :: | callback |
C-interoperable write callback function. |