Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: HttpServerOptions AddEndpoint(string, HttpEndpoint)

Declaration

public HttpServerOptions AddEndpoint(
    string key,
    HttpEndpoint endpoint
)

Summary

Adds an endpoint for the server to listen on.

Parameters

stringkey Unique key used to identify this endpoint.
HttpEndpointendpoint The endpoint object.