setTransform method

void setTransform(
  1. ProxyRequest fn(
    1. ProxyRequest
    )
)

Sets a transform function applied to requests before forwarding.

Implementation

void setTransform(ProxyRequest Function(ProxyRequest) fn) {
  _requestTransform = fn;
}