mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-30 09:38:26 -05:00
10 lines
298 B
Go
10 lines
298 B
Go
package jmap
|
|
|
|
func (j *Client) EnablePushNotifications(pushState State, sessionProvider func() (*Session, error)) (WsClient, error) {
|
|
return j.ws.EnableNotifications(pushState, sessionProvider, j)
|
|
}
|
|
|
|
func (j *Client) AddWsPushListener(listener WsPushListener) {
|
|
j.wsPushListeners.add(listener)
|
|
}
|