NetworkEndpoint
interface NetworkEndpoint
A type-safe description of one HTTP endpoint. Mirrors SwiftyNetwork's NetworkEndpoint.
Implement this (typically as an object or data class per route) and pass it to NetworkClient. Only baseUrl, path, and method are required; the rest default sensibly.
Properties
Link copied to clipboard
Per-request authorization; defaults to AuthorizationType.None (use the client provider).
Link copied to clipboard
The HTTP method.
Link copied to clipboard
Query parameters appended to the URL, or null for none.