hunt-httpclient ~master (2021-11-19T09:43:32Z)
Home
Dub
Repo
Request.accept
hunt
httpclient
Request
Request
Indicate the type of content that should be returned by the server.
class
Request
Request
accept
(
string
contentType
)
Meta
Source
See Implementation
hunt
httpclient
Request
Request
constructors
this
functions
accept
acceptJson
asForm
asJson
asMultipart
attach
bodyFormat
contentType
del
formData
get
patch
post
put
retry
timeout
withCookies
withHeaders
withToken
Indicate the type of content that should be returned by the server.