Skip to content
Josh Wright edited this page Jan 14, 2021 · 3 revisions

CUSTOM

Represents an Endpoint with a custom HTTP method.

@propertyWrapper public class CUSTOM<Req: EndpointRequest, Res: Codable>

Initializers

init(method:_:)

Initialize with a method and path.

public init(method: String, _ path: String)

Parameters

  • method: The string of the HTTP method of the endpoint.
  • path: The path of the endpoint.

Properties

wrappedValue

A REST endpoint with the given method & path.

var wrappedValue: Endpoint<Req, Res>
Alchemy
Types
Protocols
Global Typealiases
Global Variables
Global Functions
Fusion
Types
Protocols
Papyrus
Types
Protocols
Clone this wiki locally