2.2.7.11 SendEvent

The purpose of the SendEvent request is to submit a remote event to the server. The most common remote event is remote-log, which specifies rendering statistics independently of streaming statistics. It is possible for clients to send remote-log events to a server after playing content entirely from a cache without having a streaming connection to the server.

The SendEvent request is implemented by using the SET_PARAMETER request method (sent by the client to the server) and MUST adhere to the syntax for SET_PARAMETER, as specified in [RFC2326] section 10.9.

The Content-Type header MUST be present in the request and MUST specify the media type application/x-wms-sendevent (section 2.2.6.3.8).

The remote event included in the message body of the SendEvent request MUST be one of the types previously specified by the server using the x-wms-event-subscription directive. For details, see section 2.2.6.2.10 in the Cache-Control header.

The message body of the SET_PARAMETER request MUST adhere to the syntax for remote events, as specified in [MS-WMSP] section 2.2.5.

A server that receives a SET_PARAMETER request MUST treat it as a SendEvent request if the Content-Type header specifies the application/x-wms-sendevent media type.

The response to a SendEvent request MUST NOT have a message body.