command "eventsub", wshserver.EventSubCommand
(w *wshutil.WshRpc, data wps.SubscriptionRequest, opts *wshrpc.RpcOpts)
| 277 | |
| 278 | // command "eventsub", wshserver.EventSubCommand |
| 279 | func EventSubCommand(w *wshutil.WshRpc, data wps.SubscriptionRequest, opts *wshrpc.RpcOpts) error { |
| 280 | _, err := sendRpcRequestCallHelper[any](w, "eventsub", data, opts) |
| 281 | return err |
| 282 | } |
| 283 | |
| 284 | // command "eventunsub", wshserver.EventUnsubCommand |
| 285 | func EventUnsubCommand(w *wshutil.WshRpc, data string, opts *wshrpc.RpcOpts) error { |
no outgoing calls
no test coverage detected