server: remove OnOptions

This commit is contained in:
aler9
2021-05-02 21:56:39 +02:00
committed by Alessandro Ros
parent 5f8e08dded
commit c2a7a2ef47
2 changed files with 0 additions and 31 deletions

View File

@@ -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