Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data APIServerLog
- = APIServerStarted { }
- | NewAPIConnection
- | APIOutputSent {
- sentOutput :: Value
- | APIInputReceived {
- receivedInput :: Value
- | APIInvalidInput {
- reason :: String
- inputReceived :: Text
- | APIConnectionError { }
- | APIHTTPRequestReceived { }
- newtype PathInfo = PathInfo ByteString
- newtype Method = Method ByteString
Documentation
data APIServerLog Source #
Instances
New type wrapper to define JSON instances.
New type wrapper to define JSON instances.
NOTE: We are not using http-types StdMethod
as we do not want to be
constrained in terms of logging and accept any method in a Request
.