mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 07:06:58 +08:00
server: remove OnOptions
This commit is contained in:
@@ -39,19 +39,6 @@ type ServerHandlerOnResponse interface {
|
||||
OnResponse(*base.Response)
|
||||
}
|
||||
|
||||
// ServerHandlerOnOptionsCtx is the context of an OPTIONS request.
|
||||
type ServerHandlerOnOptionsCtx struct {
|
||||
Conn *ServerConn
|
||||
Req *base.Request
|
||||
Path string
|
||||
Query string
|
||||
}
|
||||
|
||||
// ServerHandlerOnOptions can be implemented by a ServerHandler.
|
||||
type ServerHandlerOnOptions interface {
|
||||
OnOptions(*ServerHandlerOnOptionsCtx) (*base.Response, error)
|
||||
}
|
||||
|
||||
// ServerHandlerOnDescribeCtx is the context of a DESCRIBE request.
|
||||
type ServerHandlerOnDescribeCtx struct {
|
||||
Conn *ServerConn
|
||||
|
Reference in New Issue
Block a user