Skip to content

Instantly share code, notes, and snippets.

@jishi
Created October 21, 2016 23:13
Show Gist options
  • Select an option

  • Save jishi/66ed97e69edddb1a036dd6b515030bd2 to your computer and use it in GitHub Desktop.

Select an option

Save jishi/66ed97e69edddb1a036dd6b515030bd2 to your computer and use it in GitHub Desktop.
Subscribe example
SUBSCRIBE /MediaRenderer/GroupRenderingControl/Event HTTP/1.1
TIMEOUT: Second-600
CALLBACK: <http://192.168.1.116:3500/>
NT: upnp:event
Host: 192.168.1.154:1400
Connection: close
Content-Length: 0
HTTP/1.1 200 OK
SID: uuid:RINCON_000xxxxxxxxE01400_sub0000004472
TIMEOUT: Second-600
Server: Linux UPnP/1.0 Sonos/33.15-33210 (ZP120)
Connection: close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment