Struct SystemProxyChangeResult
Outcome of enabling or disabling OS system proxy. Callers must treat failure as
non-fatal: log Message and continue (do not crash the process).
Namespace: Titanium.Web.Proxy
Assembly: Titanium.Web.Proxy.dll
Syntax
public readonly struct SystemProxyChangeResult
Constructors
|
Edit this page
View Source
SystemProxyChangeResult(bool, string)
Declaration
public SystemProxyChangeResult(bool succeeded, string message)
Parameters
| Type |
Name |
Description |
| bool |
succeeded |
|
| string |
message |
|
Properties
|
Edit this page
View Source
Message
Declaration
public string Message { get; }
Property Value
|
Edit this page
View Source
Succeeded
Declaration
public bool Succeeded { get; }
Property Value
Methods
|
Edit this page
View Source
Fail(string)
Declaration
public static SystemProxyChangeResult Fail(string message)
Parameters
| Type |
Name |
Description |
| string |
message |
|
Returns
|
Edit this page
View Source
Ok(string)
Declaration
public static SystemProxyChangeResult Ok(string message)
Parameters
| Type |
Name |
Description |
| string |
message |
|
Returns