snapshot of https://github.com/centrifugal/centrifugo.git (master, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
14
internal/proxy/shared_poll_refresh.go
Normal file
14
internal/proxy/shared_poll_refresh.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package proxy
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/centrifugal/centrifugo/v6/internal/proxyproto"
|
||||
)
|
||||
|
||||
// SharedPollRefreshProxy allows to send SharedPollRefresh requests.
|
||||
type SharedPollRefreshProxy interface {
|
||||
ProxySharedPollRefresh(context.Context, *proxyproto.SharedPollRefreshRequest) (*proxyproto.SharedPollRefreshResponse, error)
|
||||
// Protocol for metrics and logging.
|
||||
Protocol() string
|
||||
}
|
||||
Reference in New Issue
Block a user