GCDHTTPProxyServer

public final class GCDHTTPProxyServer: GCDProxyServer

The HTTP proxy server.

  • Create an instance of HTTP proxy server.

    Declaration

    Swift

    override public init(address: IPAddress?, port: Port)

    Parameters

    address

    The address of proxy server.

    port

    The port of proxy server.

  • Handle the new accepted socket as a HTTP proxy connection.

    Declaration

    Swift

    override func handleNewGCDSocket(_ socket: GCDTCPSocket)

    Parameters

    socket

    The accepted socket.