TD.Query.TestProxy
data TestProxy Source #
Sends a simple network request to the Telegram servers via proxy; for testing only. Can be called before authorization. Returns Ok
Ok
Constructors
Fields
Proxy server domain or IP address
Proxy server port
Proxy type
Identifier of a datacenter with which to test connection
The maximum overall timeout for the request
Defined in TD.Query.TestProxy
Methods
toJSON :: TestProxy -> Value #
toEncoding :: TestProxy -> Encoding #
toJSONList :: [TestProxy] -> Value #
toEncodingList :: [TestProxy] -> Encoding #
showsPrec :: Int -> TestProxy -> ShowS #
show :: TestProxy -> String #
showList :: [TestProxy] -> ShowS #
(==) :: TestProxy -> TestProxy -> Bool #
(/=) :: TestProxy -> TestProxy -> Bool #
shortShow :: TestProxy -> String Source #
defaultTestProxy :: TestProxy Source #