contentType property

String? contentType
getter/setter pair

The request content-type.

The default content-type for requests will be implied by the ImplyContentTypeInterceptor according to the type of the request payload. The interceptor can be removed by Interceptors.removeImplyContentTypeInterceptor.

Implementation

String? contentType;