HTTP-RPC request type.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | auth | = | RPC_AUTH_NONE |
HTTP Auth. |
|
integer, | public | :: | method | = | RPC_METHOD_GET |
HTTP method (GET, POST). |
|
integer, | public | :: | compression | = | Z_TYPE_NONE |
Use deflate or zstd compression ( |
|
integer, | public | :: | connect_timeout | = | 30 |
Connection timeout in seconds. |
|
integer, | public | :: | timeout | = | 30 |
Timeout in seconds. |
|
logical, | public | :: | follow_location | = | .true. |
Follow HTTP 3xx redirects. |
|
character(len=:), | public, | allocatable | :: | payload |
Request payload. |
||
character(len=:), | public, | allocatable | :: | content_type |
Request payload type (MIME). |
||
character(len=:), | public, | allocatable | :: | accept |
HTTP Accept header. |
||
character(len=:), | public, | allocatable | :: | username |
HTTP Basic Auth user name. |
||
character(len=:), | public, | allocatable | :: | password |
HTTP Basic Auth password. |
||
character(len=:), | public, | allocatable | :: | url |
Request URL. |
||
character(len=:), | public, | allocatable | :: | user_agent |
User Agent. |
||
procedure(dm_rpc_callback), | public, | pointer, nopass | :: | callback | => | null() |
C-interoperable write callback function. |