Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type ContentLength = Header "Content-Length" Integer Source #
StateAPI | |
|
Instances
Generic (StateAPI auth f) Source # | |
type Rep (StateAPI auth f) Source # | |
Defined in Hercules.API.Agent.State type Rep (StateAPI auth f) = D1 ('MetaData "StateAPI" "Hercules.API.Agent.State" "hercules-ci-api-agent-0.4.1.2-JaTBfk7gvSW13GcDUmjJEZ" 'False) (C1 ('MetaCons "StateAPI" 'PrefixI 'True) (S1 ('MetaSel ('Just "getState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("current-task" :> ("state" :> (Capture' '[Required] "name" Text :> ("data" :> (auth :> StreamGet NoFraming OctetStream (Headers '[ContentLength] (SourceIO ByteString))))))))) :*: S1 ('MetaSel ('Just "putState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f :- ("current-task" :> ("state" :> (Capture' '[Required] "name" Text :> ("data" :> (StreamBody NoFraming OctetStream (SourceIO ByteString) :> (ContentLength :> (auth :> Put '[JSON] NoContent))))))))))) |