code: def _build_web_client(cls, session: AppSession):
          '''Build Web Client.'''
          cookie_jar = cls._build_cookie_jar(session)
          http_client = cls._build_http_client(session)
  
          redirect_factory = functools.partial(
              session.factory.class_map['RedirectTracker'],
              max_redirects=session.args.max_redirect
          )
  
          return session.factory.new(
              'WebClient',
              http_client,
              redirect_tracker_factory=redirect_factory,
              cookie_jar=cookie_jar,
              request_factory=cls._build_request_factory(session),
          f _build_web_client(cls, session: AppSession):
          '''Build Web Client.'''
          cookie_jar = cls._build_cookie_jar(session)
          http_client = cls._build_http_client(session)
  
          redirect_factory = functools.partial(
              session.factory.class_map['RedirectTracker'],
              max_redirects=session.args.max_redirect
          )
  
          return session.factory.new(
              'WebClient',
              http_client,
              redirect_tracker_factory=redirect_factory,
              cookie_jar=cookie_jar,
              request_factory=cls._build_request_factory(session),
          )
docs: Build Web Client.