MediaType
final class MediaType
| internal |
Constants
| PROTOBUF |
|
Methods
bool
isProtobuf()
Determine whether the media type represents Protocol Buffers.
string|null
subtype()
Return the explicit gRPC representation subtype.
Details
at line 21
static MediaType|null
parse(string $value)
Parse a gRPC media type.
at line 39
bool
isProtobuf()
Determine whether the media type represents Protocol Buffers.
at line 47
string|null
subtype()
Return the explicit gRPC representation subtype.