buster-network-1.1: Almost but not quite entirely unlike FRP

App.Behaviours.HTTP

Description

Behaviours for HTTP requests. Looks for Events named HTTP/MethodName with event data of [EString uri, EByteString senddata, EStringL headers] and consumes them. Produces Events named HTTPResponse with source httpBehaviour/MethodName and the contents of the response as the event data in a ByteString. They also produce Exceptions with the same source and name ConnectionError if there is no network connection or HTTP Service or HTTPErrorResponseCode if the Server sent back an error code or ParseFailure if the URI didn't parse.