MCPcopy Create free account
hub / github.com/a-h/rest / Trace

Method Trace

api.go:254–256  ·  view source on GitHub ↗

Trace defines an TRACE request route for the given pattern.

(pattern string)

Source from the content-addressed store, hash-verified

252
253// Trace defines an TRACE request route for the given pattern.
254func (api *API) Trace(pattern string) (r *Route) {
255 return api.Route(http.MethodTrace, pattern)
256}
257
258// HasResponseModel configures a response for the route.
259// Example:

Callers 1

TestSchemaFunction · 0.95

Calls 1

RouteMethod · 0.95

Tested by 1

TestSchemaFunction · 0.76