Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Hydra.API.APIServerLog
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 #
Constructors
APIServerStarted | |
Fields | |
NewAPIConnection | |
APIOutputSent | |
Fields
| |
APIInputReceived | |
Fields
| |
APIInvalidInput | |
Fields
| |
APIConnectionError | |
APIHTTPRequestReceived | |
Instances
New type wrapper to define JSON instances.
Constructors
PathInfo ByteString |
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
.
Constructors
Method ByteString |