HttpClient constructor

HttpClient(
  1. {SecurityContext context}
)

Implementation

factory HttpClient({SecurityContext context}) {
  HttpOverrides overrides = HttpOverrides.current;
  if (overrides == null) {
    return new _HttpClient(context);
  }
  return overrides.createHttpClient(context);
}