hunt-http ~master (2022-03-03T02:59:30Z)
Home
Dub
Repo
HttpBody.create
hunt
http
HttpBody
HttpBody
Returns a new request body that transmits {@code content}.
HttpBody
create
(T content)
HttpBody
create
(string contentType, long contentLength)
HttpBody
create
(string contentType, string content)
HttpBody
create
(string contentType, ByteBuffer buffer)
HttpBody
create
(string type, const(ubyte)[] content)
class
HttpBody
static
HttpBody
create
(
string
type
,
const
(
ubyte
)[]
content
)
Meta
Source
See Implementation
hunt
http
HttpBody
HttpBody
functions
append
asString
contentLength
contentType
getRaw
toString
writeTo
static functions
create
createFromFile
Returns a new request body that transmits {@code content}.