dm_rpc_reset Interface

public interface dm_rpc_reset

Generic RPC reset routine.


Module Procedures

private impure elemental subroutine rpc_request_reset(request)

Auxiliary routine to reset request for future reuse. Cleans-up the libcurl handles of the request.

Arguments

Type IntentOptional Attributes Name
type(rpc_request_type), intent(inout) :: request

Request type.

private pure elemental subroutine rpc_response_reset(response, reset_unit)

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.

Arguments

Type IntentOptional Attributes Name
type(rpc_response_type), intent(inout) :: response

Response type.

logical, intent(in), optional :: reset_unit

Reset file unit.