method
fun <P1 : Parameters> method(method: Method, uriWithParameters: URIWithParameters<P1>): HttpEndpointBuildingContext<P1, Input<Headers0, EmptyBody>, Outputs0>(source)
Configures the HTTP verb and URI for the endpoint being declared.
Return
fresh HttpEndpointBuildingContext pre-populated with the chosen verb and URI.
Parameters
P1
tuple capturing referenced path and query parameters.
method
HTTP verb associated with the endpoint.
uriWithParameters
URI template matched by the endpoint.