Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseWriter ¶
type ResponseWriter struct {
// contains filtered or unexported fields
}
func NewResponseWriter ¶
func NewResponseWriter(dc *dataChannel) *ResponseWriter
func (*ResponseWriter) Flush ¶
func (w *ResponseWriter) Flush() error
func (*ResponseWriter) Header ¶
func (w *ResponseWriter) Header() http.Header
func (*ResponseWriter) TriggersShutdown ¶
func (w *ResponseWriter) TriggersShutdown()
func (*ResponseWriter) WriteHeader ¶
func (w *ResponseWriter) WriteHeader(statusCode int)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server satisfies the sdp.RequestHandler interface. Server acts as a factory for new peer connections when a client request comes in.
func (*Server) HandleRequest ¶
func (s *Server) HandleRequest(ctx context.Context, id string, conf *webrtc.Configuration, answerOfferFunc signallers.AnswerOffer) error
Click to show internal directories.
Click to hide internal directories.