setOnRequestHandler method

void setOnRequestHandler(
  1. OnRequestHandler? handler
)

设置请求拦截器

Implementation

void setOnRequestHandler(OnRequestHandler? handler) {
  _onRequestHandler = handler;
}