Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::HttpClientRequestProxyOptions Struct Reference

Proxy policy for one request. More...

#include <HttpClient.h>

Public Types

enum  Mode : uint8_t {
  Default ,
  NoProxy ,
  Http
}
 

Public Member Functions

const char * getModeName () const
 

Static Public Member Functions

static const char * getModeName (Mode mode)
 

Public Attributes

Mode mode = Default
 
StringSpan url
 Required for Http, must use the http:// scheme.
 
StringSpan authorization
 Optional exact Proxy-Authorization header value for Http
 
StringSpan bypassList
 Optional comma-separated proxy bypass list for Http
 

Detailed Description

Proxy policy for one request.

Member Enumeration Documentation

◆ Mode

Enumerator
Default 

Use the backend default proxy configuration.

NoProxy 

Bypass proxies for this request.

Http 

Use url as an explicit HTTP proxy URL.

Member Data Documentation

◆ authorization

StringSpan SC::HttpClientRequestProxyOptions::authorization

Optional exact Proxy-Authorization header value for Http

◆ bypassList

StringSpan SC::HttpClientRequestProxyOptions::bypassList

Optional comma-separated proxy bypass list for Http

◆ url

StringSpan SC::HttpClientRequestProxyOptions::url

Required for Http, must use the http:// scheme.


The documentation for this struct was generated from the following file: