This is the constructor for the
client_type
derived type.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(request_type), | intent(in) | :: | request |
Specifies the HTTP |
A client_type
object containing the request
field set to the input request
object.
function new_client(request) result(client)
!!> This is the constructor for the `client_type` derived type.
type(request_type), intent(in) :: request
!! Specifies the **HTTP `request`** to send.
type(client_type) :: client
!! A `client_type` object containing the `request` field set to the input `request` object.
client%request = request
end function new_client