Validates and appends response to the given request.
The function returns the following error codes:
E_BOUNDS
if the responses array is full.E_INVALID
if the response is invalid.The request attribute nresponses
must be between 0 and one less
than REQUEST_MAX_NRESPONSES
for the response to be added.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(request_type), | intent(inout) | :: | request |
Request type. |
||
type(response_type), | intent(inout) | :: | response |
Response to add. |