HttpApiHelpers Module
Helper functions for creating HTTP API CORS configurations
Functions and values
| Function or value | Description |
|
|
Full Usage:
cors allowOrigins allowMethods allowHeaders
Parameters:
string list
allowMethods : CorsHttpMethod list
allowHeaders : string list
Returns: CorsPreflightOptions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
routeKey method path
Parameters:
HttpMethod
path : string
Returns: HttpRouteKey
|
FsCDK