Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Macro

HTTP(on:_:_:handler:)

@freestanding(declaration, names: arbitrary) macro HTTP(on routeBuilder: any RoutesBuilder, _ method: HTTPRequest.Method, _ pathComponents: Any..., handler: Any)