Module

Bucketchain.SimpleAPI.Proc

#Context

newtype Context ex

This is for internal. Do not use it.

Instances

#Proc

newtype Proc ex a

The type of request handler.

Instances

#askExtra

askExtra :: forall ex. Proc ex ex

Get global context.

#askRaw

askRaw :: forall ex. Proc ex RawData

Get RawData.

#runProc

runProc :: forall ex a. Proc ex a -> Context ex -> Aff a

This is for internal. Do not use it.

#context

context :: forall ex. ex -> RawData -> Context ex

This is for internal. Do not use it.

Modules