Server

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.net.http.httptest
  • Platforms: .NET, .NET Standard 2.0, Island

 

constructor

 

constructor

 

Server()

 

init()

 

constructor(aURL: string; aListener: Listener; aTLS: Reference<Config>; aConfig: Reference<Server>; acertificate: Reference<Certificate>; awg: WaitGroup; amu: Mutex; aclosed: Boolean; aconns: Map<Conn, ConnState>; aclient: Reference<Client>)

 

Server(string aURL, Listener aListener, Reference<Config> aTLS, Reference<Server> aConfig, Reference<Certificate> acertificate, WaitGroup awg, Mutex amu, Boolean aclosed, Map<Conn, ConnState> aconns, Reference<Client> aclient)

 

init(_ aURL: string, _ aListener: Listener, _ aTLS: Reference<Config>, _ aConfig: Reference<Server>, _ acertificate: Reference<Certificate>, _ awg: WaitGroup, _ amu: Mutex, _ aclosed: Boolean, _ aconns: Map<Conn, ConnState>, _ aclient: Reference<Client>)

Parameters:

  • aURL:
  • aListener:
  • aTLS:
  • aConfig:
  • acertificate:
  • awg:
  • amu:
  • aclosed:
  • aconns:
  • aclient:

 

constructor(aURL: string; aListener: Listener; aTLS: Reference<Config>; aConfig: Reference<Server>; acertificate: Reference<Certificate>; awg: WaitGroup; amu: Mutex; aclosed: bool; aconns: Map<Conn, ConnState>; aclient: Reference<Client>)

 

Server(string aURL, Listener aListener, Reference<Config> aTLS, Reference<Server> aConfig, Reference<Certificate> acertificate, WaitGroup awg, Mutex amu, bool aclosed, Map<Conn, ConnState> aconns, Reference<Client> aclient)

 

init(_ aURL: string, _ aListener: Listener, _ aTLS: Reference<Config>, _ aConfig: Reference<Server>, _ acertificate: Reference<Certificate>, _ awg: WaitGroup, _ amu: Mutex, _ aclosed: bool, _ aconns: Map<Conn, ConnState>, _ aclient: Reference<Client>)

Parameters:

  • aURL:
  • aListener:
  • aTLS:
  • aConfig:
  • acertificate:
  • awg:
  • amu:
  • aclosed:
  • aconns:
  • aclient:

constructor (Server)

 

constructor(value: Server)

 

Server(Server value)

 

init(_ value: Server)

Parameters:

  • value:

Certificate

 

method Certificate: Reference<Certificate>

 

Reference<Certificate> Certificate()

 

func Certificate() -> Reference<Certificate>

 

func Certificate() Reference<Certificate>

Client

 

method Client: Reference<Client>

 

Reference<Client> Client()

 

func Client() -> Reference<Client>

 

func Client() Reference<Client>

Close

 

method Close

 

void Close()

 

func Close()

 

func Close()

CloseClientConnections

 

method CloseClientConnections

 

void CloseClientConnections()

 

func CloseClientConnections()

 

func CloseClientConnections()

Config

 

var Config: Reference<Server>;

 

Reference<Server> Config

 

var Config: Reference<Server>

 

Config Reference<Server>

Listener

 

var Listener: Listener;

 

Listener Listener

 

var Listener: Listener

 

Listener Listener

Start

 

method Start

 

void Start()

 

func Start()

 

func Start()

StartTLS

 

method StartTLS

 

void StartTLS()

 

func StartTLS()

 

func StartTLS()

TLS

 

var TLS: Reference<Config>;

 

var TLS: Reference<Config>

URL

 

var URL: string;

 

string URL

 

var URL: string

 

URL string

 

Config

 

var Config: Reference<Server>;

 

Reference<Server> Config

 

var Config: Reference<Server>

 

Config Reference<Server>

Listener

 

var Listener: Listener;

 

Listener Listener

 

var Listener: Listener

 

Listener Listener

TLS

 

var TLS: Reference<Config>;

 

var TLS: Reference<Config>

URL

 

var URL: string;

 

string URL

 

var URL: string

 

URL string

 

constructor

 

constructor

 

Server()

 

init()

 

constructor(aURL: string; aListener: Listener; aTLS: Reference<Config>; aConfig: Reference<Server>; acertificate: Reference<Certificate>; awg: WaitGroup; amu: Mutex; aclosed: Boolean; aconns: Map<Conn, ConnState>; aclient: Reference<Client>)

 

Server(string aURL, Listener aListener, Reference<Config> aTLS, Reference<Server> aConfig, Reference<Certificate> acertificate, WaitGroup awg, Mutex amu, Boolean aclosed, Map<Conn, ConnState> aconns, Reference<Client> aclient)

 

init(_ aURL: string, _ aListener: Listener, _ aTLS: Reference<Config>, _ aConfig: Reference<Server>, _ acertificate: Reference<Certificate>, _ awg: WaitGroup, _ amu: Mutex, _ aclosed: Boolean, _ aconns: Map<Conn, ConnState>, _ aclient: Reference<Client>)

Parameters:

  • aURL:
  • aListener:
  • aTLS:
  • aConfig:
  • acertificate:
  • awg:
  • amu:
  • aclosed:
  • aconns:
  • aclient:

 

constructor(aURL: string; aListener: Listener; aTLS: Reference<Config>; aConfig: Reference<Server>; acertificate: Reference<Certificate>; awg: WaitGroup; amu: Mutex; aclosed: bool; aconns: Map<Conn, ConnState>; aclient: Reference<Client>)

 

Server(string aURL, Listener aListener, Reference<Config> aTLS, Reference<Server> aConfig, Reference<Certificate> acertificate, WaitGroup awg, Mutex amu, bool aclosed, Map<Conn, ConnState> aconns, Reference<Client> aclient)

 

init(_ aURL: string, _ aListener: Listener, _ aTLS: Reference<Config>, _ aConfig: Reference<Server>, _ acertificate: Reference<Certificate>, _ awg: WaitGroup, _ amu: Mutex, _ aclosed: bool, _ aconns: Map<Conn, ConnState>, _ aclient: Reference<Client>)

Parameters:

  • aURL:
  • aListener:
  • aTLS:
  • aConfig:
  • acertificate:
  • awg:
  • amu:
  • aclosed:
  • aconns:
  • aclient:

constructor (Server)

 

constructor(value: Server)

 

Server(Server value)

 

init(_ value: Server)

Parameters:

  • value:

Certificate

 

method Certificate: Reference<Certificate>

 

Reference<Certificate> Certificate()

 

func Certificate() -> Reference<Certificate>

 

func Certificate() Reference<Certificate>

Client

 

method Client: Reference<Client>

 

Reference<Client> Client()

 

func Client() -> Reference<Client>

 

func Client() Reference<Client>

Close

 

method Close

 

void Close()

 

func Close()

 

func Close()

CloseClientConnections

 

method CloseClientConnections

 

void CloseClientConnections()

 

func CloseClientConnections()

 

func CloseClientConnections()

Start

 

method Start

 

void Start()

 

func Start()

 

func Start()

StartTLS

 

method StartTLS

 

void StartTLS()

 

func StartTLS()

 

func StartTLS()