IpInfoApi

An implementation for the ipinfo.io API including keeping track of the current IP address.

Types

Link copied to clipboard
data class IpData(val ip: String?, val hostname: String?, val city: String?, val region: String?, val country: String?, val loc: String?, val org: String?, val postal: String?, val timezone: String?)

Represents information about an IP address

Properties

Link copied to clipboard

Information about the current IP address of the user. This can change depending on if the user is using a proxy through the Proxy Manager.

Link copied to clipboard
val defaultHeaders: Headers
Link copied to clipboard

Information about the current IP address of the user. This does not change during use.

Functions

Link copied to clipboard
suspend fun own(): IpInfoApi.IpData
Link copied to clipboard