Table of Contents

Namespace VpnHood.Core.Tunneling.Messaging

Classes

ByeRequest

Represents a session's end: the server answers it, then closes the session.

HelloRequest

Represents a client's request for a session, the first request of a connect: the access key it connects with and what it asks for.

HelloResponse

Represents the server's answer to a HelloRequest: the session, and what the client needs to run it.

RequestBase

Provides the base of a request in a session, which carries the session's ID and key.

RewardedAdRequest

Represents a session's report of a rewarded ad the person has watched, which the server's access manager verifies.

ServerCheckRequest

Represents a check that the server is there, which it answers as unauthorized without reading the request.

SessionStatusRequest

Represents a request for the session's status, which the server answers with the session's response.

TcpForwardingChannelRequest

Represents a request to forward one TCP connection: the server opens a TCP connection of its own to the destination, and a StreamForwardingChannel passes the bytes between the two.

TcpPacketChannelRequest

Represents a request for a stream that carries the session's packets: a packet channel.

UdpPacketRequest

Represents UDP packets in a request of their own, which no client sends and the server does not serve.

Enums

RequestCode

Specifies the kind of a client's request.