Module

HTTPure.Body

Package
purescript-httpure
Repository
cprussin/purescript-httpure

#Body Source

type Body = String

The Body type is just sugar for a String, that will be sent or received in the HTTP body.

#read Source

read :: Request -> Aff Body

Extract the contents of the body of the HTTP Request.

#write Source

write :: Response -> Body -> Effect Unit

Write a Body to the given HTTP Response and close it.