mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[evrtsp] Add support for SETPEERS and GET
This commit is contained in:
parent
4621d25aaa
commit
8b842be17f
@ -64,6 +64,8 @@ enum evrtsp_cmd_type {
|
||||
EVRTSP_REQ_FLUSH,
|
||||
EVRTSP_REQ_TEARDOWN,
|
||||
EVRTSP_REQ_POST,
|
||||
EVRTSP_REQ_GET,
|
||||
EVRTSP_REQ_SETPEERS,
|
||||
};
|
||||
|
||||
enum evrtsp_request_kind { EVRTSP_REQUEST, EVRTSP_RESPONSE };
|
||||
|
@ -264,6 +264,14 @@ evrtsp_method(enum evrtsp_cmd_type type)
|
||||
method = "POST";
|
||||
break;
|
||||
|
||||
case EVRTSP_REQ_GET:
|
||||
method = "GET";
|
||||
break;
|
||||
|
||||
case EVRTSP_REQ_SETPEERS:
|
||||
method = "SETPEERS";
|
||||
break;
|
||||
|
||||
default:
|
||||
method = NULL;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user