Versions in this module Expand all Collapse all v2 v2.16.1 May 24, 2023 v2.16.0 May 24, 2023 Changes in this version + const UserAgent + func CharsetReader(charset string, input io.Reader) (io.Reader, error) + func ContextClient(ctx context.Context) *http.Client + func ContextUserAgent(ctx context.Context) string + func DoRequest(ctx context.Context, req *http.Request) (*http.Response, error) + func XMLSanitizerReader(xml io.Reader) io.Reader + type CharsetUnknownError struct + Name string + func (c *CharsetUnknownError) Error() string + type ContextKey int + const CallbackRemove + const CallbackRetryAfterKey + const CallbackRetryCounterKey + const EventIDKey + const EventVersionKey + const GroupIDKey + const HTTPClientKey + const LongPollTsKey + const UserAgentKey