dm_rpc_reset Interface

public interface dm_rpc_reset

Generic RPC reset routine.

Called by

interface~~dm_rpc_reset~~CalledByGraph interface~dm_rpc_reset dm_rpc_reset proc~dm_rpc_get dm_rpc_get proc~dm_rpc_get->interface~dm_rpc_reset proc~dm_rpc_request_multi dm_rpc_request_multi proc~dm_rpc_request_multi->interface~dm_rpc_reset proc~dm_rpc_request_single dm_rpc_request_single proc~dm_rpc_request_single->interface~dm_rpc_reset interface~dm_rpc_request dm_rpc_request interface~dm_rpc_request->proc~dm_rpc_request_multi interface~dm_rpc_request->proc~dm_rpc_request_single

Module Procedures

private impure elemental subroutine rpc_reset_request(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_reset_response(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.