]> Sergey Matveev's repositories - btrtrc.git/blobdiff - config.go
No Web*
[btrtrc.git] / config.go
index 1764168972e59fb4e6adad67d33cf23d2566245e..f983095ac1d442409f968500edbb33f448143282 100644 (file)
--- a/config.go
+++ b/config.go
@@ -117,9 +117,6 @@ type ClientConfig struct {
        // HttpRequestDirector modifies the request before it's sent.
        // Useful for adding authentication headers, for example
        HttpRequestDirector func(*http.Request) error
-       // WebsocketTrackerHttpHeader returns a custom header to be used when dialing a websocket connection
-       // to the tracker. Useful for adding authentication headers
-       WebsocketTrackerHttpHeader func() http.Header
        // Updated occasionally to when there's been some changes to client
        // behaviour in case other clients are assuming anything of us. See also
        // `bep20`.