Name
|
Description
|
Instance Members
|
x.ConfigJSONSerializer(state, settings)
Signature:
(state:FunctionState * settings:JsonSerializerSettings) -> FunctionState
CE Custom Operation:
use_json_settings
|
Configures built in JSON.Net (de)serializer with custom settings.
|
x.ConfigXMLSerializer(state, settings)
Signature:
(state:FunctionState * settings:XmlWriterSettings) -> FunctionState
CE Custom Operation:
use_xml_settings
|
Configures built in XML (de)serializer with custom settings.
|
x.ErrorHandler(state, handler)
Signature:
(state:FunctionState * handler:(Exception -> HttpHandler)) -> FunctionState
CE Custom Operation:
error_handler
|
Adds error handler for the function
|
x.HostPrefix(state, prefix)
Signature:
(state:FunctionState * prefix:string) -> FunctionState
CE Custom Operation:
host_prefix
|
Adds prefix for the endpoint. By default Azure Functions are using /api prefix.
|
x.Logger(state, logger)
Signature:
(state:FunctionState * logger:ILogger) -> FunctionState
CE Custom Operation:
logger
|
Adds logger for the function. Used for error reporting and passed to the actions as ctx.Items.["TraceWriter"]
|
x.NotFoundHandler(state, handler)
Signature:
(state:FunctionState * handler:HttpHandler) -> FunctionState
CE Custom Operation:
not_found_handler
|
Adds not found handler for the function
|
x.Router(state, handler)
Signature:
(state:FunctionState * handler:HttpHandler) -> FunctionState
CE Custom Operation:
use_router
|
Defines top-level router used for the function
|
x.Run(state)
Signature:
state:FunctionState -> HttpRequest -> Task
|
|
x.UseConfigNegotiation(state, config)
Signature:
(state:FunctionState * config:INegotiationConfig) -> FunctionState
CE Custom Operation:
use_negotiation_config
|
Configures negotiation config
|
x.UseCustomJSONSerializer(state, serializer)
Signature:
(state:FunctionState * serializer:'?106262) -> FunctionState
CE Custom Operation:
use_json_serializer
|
Replaces built in JSON.Net (de)serializer with custom serializer
|
x.UseCustomXMLSerializer(state, serializer)
Signature:
(state:FunctionState * serializer:'?106265) -> FunctionState
CE Custom Operation:
use_xml_serializer
|
Replaces built in XML (de)serializer with custom serializer
|
x.Yield(arg1)
Signature:
'?106253 -> FunctionState
|
|
x.LogWriter()
Signature:
unit -> ILogger option
|
|
x.LogWriter()
Signature:
unit -> unit
|
|