Generic RPC reset routine.
Auxiliary routine to reset request for future reuse. Cleans-up the libcurl handles of the request.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(rpc_request_type), | intent(inout) | :: | request |
Request type. |
Auxiliary routine to reset response for future reuse. Response headers are kept and only header values are deallocated. This routine does not reset the file unit by default.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(rpc_response_type), | intent(inout) | :: | response |
Response type. |
||
logical, | intent(in), | optional | :: | reset_unit |
Reset file unit. |