navigation

ControllerState<'Key, 'IndexOutput, 'ShowOutput, 'AddOutput, 'EditOutput, 'CreateOutput, 'UpdateOutput, 'PatchOutput, 'DeleteOutput, 'DeleteAllOutput>

Namespace: Saturn.Endpoint
Parent: Controller

Type representing internal state of the controller computation expression


Name Description
Record Fields
Index
Signature: (HttpContext -> Task<'IndexOutput>) option

Show
Signature: (HttpContext -> 'Key -> Task<'ShowOutput>) option

Add
Signature: (HttpContext -> Task<'AddOutput>) option

Edit
Signature: (HttpContext -> 'Key -> Task<'EditOutput>) option

Create
Signature: (HttpContext -> Task<'CreateOutput>) option

Update
Signature: (HttpContext -> 'Key -> Task<'UpdateOutput>) option

Patch
Signature: (HttpContext -> 'Key -> Task<'PatchOutput>) option

Delete
Signature: (HttpContext -> 'Key -> Task<'DeleteOutput>) option

DeleteAll
Signature: (HttpContext -> Task<'DeleteAllOutput>) option

NotFoundHandler
Signature: HttpHandler option

ErrorHandler
Signature: HttpContext -> Exception -> HttpFuncResult

SubControllers
Signature: (string * ('Key -> HttpHandler)) list

Plugs
Signature: Map

Version
Signature: string option