head
fun <P1 : Parameters> head(uriWithParameters: URIWithParameters<P1>): HttpEndpointBuildingContext<P1, Input<Headers0, EmptyBody>, Outputs0>(source)
Creates a HEAD endpoint for the provided uriWithParameters.
Parameters
uriWithParameters
URI template matched by the endpoint.
fun head(path: String): HttpEndpointBuildingContext<Parameters0, Input<Headers0, EmptyBody>, Outputs0>(source)
Creates a HEAD endpoint by supplying a literal path.
Parameters
path
slash-separated segments describing the URI template.
fun <P : Any> head(parameter: Parameter<P>): HttpEndpointBuildingContext<Parameters1<P>, Input<Headers0, EmptyBody>, Outputs0>(source)
Creates a HEAD endpoint that uses a single parameter placeholder (path or query).
Parameters
parameter
parameter whose name and codec derive the template segment.