Functions - unsubscribe

From The Socknet

Jump to: navigation, search

unsubscribe is used to request that an entity stop sending messages to the sender of the request. It is assumed that the request is accepted, since the subscriber will no longer accept messages from the subscribee anyway, and it would just be a waste of effort to continue sending messages.

Specification

POST unsubscribe
{ from: { openid: "http://whom.com" },
  to: { openid: "http://user_subscribed_to.com" }
}

->
nothing

unsubscribe is called via POST.

The request must include a from field.

The request must include a to field.

No response is necessary, but a response with an error should lead the requester to try again later.

Support

This function is optional for both Providers and Service, but must be available subscription_request is available.

Further Reading

Personal tools