init method

void init({
  1. required EngineContext context,
  2. TRequestWillBeSentHook? requestWillBeSentHook,
  3. TResponseReceivedHook? responseReceivedHook,
})

Implementation

void init({
  required EngineContext context,
  TRequestWillBeSentHook? requestWillBeSentHook,
  TResponseReceivedHook? responseReceivedHook,
}) {
  context = context;
  requestWillBeSentHook = requestWillBeSentHook;
  responseReceivedHook = responseReceivedHook;
}