beforeAddRequestBody method
Implementation
@override
void beforeAddRequestBody(HttpClientRequest request) {
request.headers.contentType = XmlContentType.applicationXml;
final depth = this.depth;
if (depth != null) {
request.headers.add(Depth.headerKey, depth.name);
}
}