FunctionBuilder

Namespace: Saturn

Parent: AzureFunctions
NameCE Custom OperationDescriptionImplementation Link
x.ConfigJSONSerializer(state, settings)use_json_settingsConfigures built in JSON.Net (de)serializer with custom settings.link
x.ConfigXMLSerializer(state, settings)use_xml_settingsConfigures built in XML (de)serializer with custom settings.link
x.ErrorHandler(state, handler)error_handlerAdds error handler for the function.link
x.HostPrefix(state, prefix)host_prefixAdds prefix for the endpoint. By default Azure Functions are using /api prefix.link
x.Logger(state, logger)loggerAdds logger for the function. Used for error reporting and passed to the actions as ctx.Items.["TraceWriter"]link
x.NotFoundHandler(state, handler)not_found_handlerAdds not found handler for the function.link
x.Router(state, handler)use_routerDefines top-level router used for the function.link
x.Run(state)link
x.UseConfigNegotiation(state, config)use_negotiation_configConfigures negotiation config.link
x.UseCustomJSONSerializer(state, serializer)use_json_serializerReplaces built in JSON.Net (de)serializer with custom serializer.link
x.UseCustomXMLSerializer(state, serializer)use_xml_serializerReplaces built in XML (de)serializer with custom serializer.link
x.Yield(arg1)link
x.LogWriter()link
x.LogWriter()link