Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
halite
v0.12.1
Halite
Cache
Chainable
Client
Exception
APIError
ClientError
ConnectionError
EndlessRedirectError
Error
FeatureError
RequestError
ResponseError
ServerError
StateError
TimeoutError
TooManyRedirectsError
UnRegisterFeatureError
UnRegisterLoggerFormatError
UnRegisterMimeTypeError
UnsupportedMethodError
UnsupportedSchemeError
UnsupportedStreamMethodError
Feature
Chain
Result
FeatureRegister
FormData
HeaderLink
Helper
Logging
Abstract
Common
JSON
Register
ShortFormat
MimeType
Adapter
JSON
Options
Follow
Timeout
Type
RateLimit
Redirector
Request
Data
Response
HTTP
Headers
Params
Built with Crystal 1.9.2
2023-10-08 11:15:52 UTC
struct
Halite::Request::Data
Halite::Request::Data
Struct
Value
Object
Overview
Request data of body
Defined in:
halite/request.cr
Constructors
.new
(body : String, content_type : String | Nil =
nil
)
Instance Method Summary
#body
: String
#content_type
: String?
Constructor Detail
def self.
new
(body : String, content_type : String | Nil =
nil
)
#
[
View source
]
Instance Method Detail
def
body
: String
#
[
View source
]
def
content_type
: String?
#
[
View source
]