mirror of
https://github.com/achiez/NebulaAuth-Steam-Desktop-Authenticator-by-Achies.git
synced 2026-07-25 06:14:31 +00:00
18 lines
421 B
C#
18 lines
421 B
C#
namespace SteamLib.Utility;
|
|
|
|
public readonly struct SocketsClientHandlerPair
|
|
{
|
|
public SocketsHttpHandler Handler { get; }
|
|
public HttpClient Client { get; }
|
|
|
|
public SocketsClientHandlerPair(HttpClient client, SocketsHttpHandler handler)
|
|
{
|
|
Handler = handler;
|
|
Client = client;
|
|
}
|
|
|
|
public (SocketsHttpHandler, HttpClient) Deconstruct()
|
|
{
|
|
return (Handler, Client);
|
|
}
|
|
} |