rpc_response_type Derived Type

type, public :: rpc_response_type

HTTP-RPC response type.


Components

Type Visibility Attributes Name Initial
integer, public :: code = 0

HTTP response code.

integer, public :: error = E_NONE

DMPACK error code.

integer, public :: error_curl = CURLE_OK

cURL error code.

real(kind=r8), public :: total_time = 0.0_r8

Total transmission time.

character(len=:), public, allocatable :: error_message

cURL error message.

character(len=:), public, allocatable :: content_type

Response payload type (MIME).

character(len=:), public, allocatable :: payload

Response payload.