Expose a WebtorrentTrackerHttpHeader field in Client.config to let users define a function that returns an http.Header to be used in Dialer.Dial() when establishing a connection. Useful for adding authentication headers when using a private tracker, for example.
Expose a
WebtorrentTrackerHttpHeader
field in Client.config to let users define a function that returns anhttp.Header
to be used inDialer.Dial()
when establishing a connection. Useful for adding authentication headers when using a private tracker, for example.Addresses #784.