createHttpClient method

HttpClient createHttpClient (SecurityContext context)

Returns a new HttpClient using the given context.

When this override is installed, this function overrides the behavior of new HttpClient.

Implementation

HttpClient createHttpClient(SecurityContext context) {
  return new _HttpClient(context);
}