content_type
Types
pub type ApplicationContentType {
JSONApplicationContentType
XMLApplicationContentType
OGGApplicationContentType
OGGWithCodecsApplicationContentType(codecs: List(String))
CustomApplicationContentType(String)
}
Constructors
-
JSONApplicationContentType
-
XMLApplicationContentType
-
OGGApplicationContentType
-
OGGWithCodecsApplicationContentType(codecs: List(String))
-
CustomApplicationContentType(String)
pub type AudioContentType {
AACAudioContentType
FLACAudioContentType
MPEGAudioContentType
MP3AudioContentType
WEBMAudioContentType
WEBMWithCodecsAudioContentType(codecs: List(WEBMAudioCodec))
CustomAudioContentType(String)
}
Constructors
-
AACAudioContentType
-
FLACAudioContentType
-
MPEGAudioContentType
-
MP3AudioContentType
-
WEBMAudioContentType
-
WEBMWithCodecsAudioContentType(codecs: List(WEBMAudioCodec))
-
CustomAudioContentType(String)
pub type ContentType {
ApplicationContentType(ApplicationContentType)
ApplicationWithCodecsContentType(
ApplicationContentType,
codecs: List(String),
)
AudioContentType(AudioContentType)
AudioWithCodecsContentType(
AudioContentType,
codecs: List(String),
)
FontContentType(FontContentType)
ExampleContentType(ExampleContentType)
ImageContentType(ImageContentType)
MessageContentType(MessageContentType)
ModelContentType(ModelContentType)
MultipartContentType(MultipartContentType)
TextContentType(TextContentType)
VideoContentType(VideoContentType)
VideoWithCodecsContentType(
VideoContentType,
codecs: List(String),
)
CustomContentType(media_type: String, sub_type: String)
CustomRawContentType(String)
}
Constructors
-
ApplicationContentType(ApplicationContentType)
-
ApplicationWithCodecsContentType( ApplicationContentType, codecs: List(String), )
-
AudioContentType(AudioContentType)
-
AudioWithCodecsContentType( AudioContentType, codecs: List(String), )
-
FontContentType(FontContentType)
-
ExampleContentType(ExampleContentType)
-
ImageContentType(ImageContentType)
-
MessageContentType(MessageContentType)
-
ModelContentType(ModelContentType)
-
MultipartContentType(MultipartContentType)
-
TextContentType(TextContentType)
-
VideoContentType(VideoContentType)
-
VideoWithCodecsContentType( VideoContentType, codecs: List(String), )
-
CustomContentType(media_type: String, sub_type: String)
-
CustomRawContentType(String)
pub type ExampleContentType {
CustomExampleContentType(String)
}
Constructors
-
CustomExampleContentType(String)
pub type FontContentType {
CollectionFontContentType
OTFFontContentType
SFNTFontContentType
TTFFontContentType
WOFFFontContentType
WOFF2FontContentType
CustomFontContentType(String)
}
Constructors
-
CollectionFontContentType
-
OTFFontContentType
-
SFNTFontContentType
-
TTFFontContentType
-
WOFFFontContentType
-
WOFF2FontContentType
-
CustomFontContentType(String)
pub type ImageContentType {
JPEGImageContentType
PNGImageContentType
CustomImageContentType(String)
}
Constructors
-
JPEGImageContentType
-
PNGImageContentType
-
CustomImageContentType(String)
pub type MessageContentType {
HTTPMessageContentType
SIPMessageContentType
CustomMessageContentType(String)
}
Constructors
-
HTTPMessageContentType
-
SIPMessageContentType
-
CustomMessageContentType(String)
pub type ModelContentType {
STEPModelContentType
OBJModelContentType
CustomModelContentType(String)
}
Constructors
-
STEPModelContentType
-
OBJModelContentType
-
CustomModelContentType(String)
pub type MultipartContentType {
FormDataMultipartContentType
MixedMultipartContentType
CustomMultipartContentType(String)
}
Constructors
-
FormDataMultipartContentType
-
MixedMultipartContentType
-
CustomMultipartContentType(String)
pub type TextContentType {
PlainTextContentType
HTMLTextContentType
JavascriptTextContentType
CSSTextContentType
CustomTextContentType(String)
}
Constructors
-
PlainTextContentType
-
HTMLTextContentType
-
JavascriptTextContentType
-
CSSTextContentType
-
CustomTextContentType(String)
pub type VideoContentType {
RAWVideoContentType
MP4VideoContentType
MPVVideoContentType
WEBMVideoContentType
WEBMWithCodecsVideoContentType(List(WEBMVideoCodec))
CustomVideoContentType(String)
}
Constructors
-
RAWVideoContentType
-
MP4VideoContentType
-
MPVVideoContentType
-
WEBMVideoContentType
-
WEBMWithCodecsVideoContentType(List(WEBMVideoCodec))
-
CustomVideoContentType(String)
pub type WEBMAudioCodec {
VorbisWEBMAudioCodec
OPUSWEBMAudioCodec
}
Constructors
-
VorbisWEBMAudioCodec
-
OPUSWEBMAudioCodec
pub type WEBMVideoCodec {
VP8WEBMVideoCodec
VP80WEBMVideoCodec
}
Constructors
-
VP8WEBMVideoCodec
-
VP80WEBMVideoCodec
Constants
pub const header_name: String = "Content-Type"