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