Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPCluster ¶
type HTTPCluster struct { // The address, port, and optional path where this node can receive requests. For example, // this might be something like "10.0.1.20:1234/service-requests". ListenURI string }
func (*HTTPCluster) Address ¶
func (c *HTTPCluster) Address() wss.Address
func (*HTTPCluster) SendGraphQLWSServiceRequest ¶
func (c *HTTPCluster) SendGraphQLWSServiceRequest(addr wss.Address, r *subprotocol.GraphQLWSServiceRequest) error
func (*HTTPCluster) SendServiceRequest ¶
func (c *HTTPCluster) SendServiceRequest(addr wss.Address, r *wss.ServiceRequest) error
type HTTPGraphQLWSService ¶
type HTTPGraphQLWSService struct {
Subprotocol *subprotocol.GraphQLWS
}
func (HTTPGraphQLWSService) ServeHTTP ¶
func (h HTTPGraphQLWSService) ServeHTTP(w http.ResponseWriter, r *http.Request)
type HTTPOrigin ¶
type HTTPOrigin struct {
URL string
}
func (*HTTPOrigin) SendGraphQLWSOriginRequest ¶
func (o *HTTPOrigin) SendGraphQLWSOriginRequest(r *subprotocol.GraphQLWSOriginRequest) (*subprotocol.GraphQLWSOriginResponse, error)
func (*HTTPOrigin) SendOriginRequest ¶
func (o *HTTPOrigin) SendOriginRequest(r *wss.OriginRequest) error
type HTTPService ¶
func (HTTPService) ServeHTTP ¶
func (h HTTPService) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.