toggle menu
lattice-kt
1.0-SNAPSHOT
jvm
switch theme
search in API
lattice
/
com.example.lattice.provider
Package-level
declarations
Types
Functions
Types
Client
Link copied to clipboard
interface
Client
Http
Api
Link copied to clipboard
interface
HttpApi
Http
Api
Impl
Link copied to clipboard
class
HttpApiImpl
(
params
:
HttpApiParams
)
:
HttpApi
Http
Api
Params
Link copied to clipboard
data
class
HttpApiParams
(
val
url
:
URL
,
val
chainId
:
Int
,
var
token
:
String
?
=
null
)
HTTPClient
Link copied to clipboard
class
HTTPClient
(
url
:
URL
,
options
:
Map
<
String
,
String
>
=
emptyMap()
)
:
Client
Http
Client
Factory
Link copied to clipboard
object
HttpClientFactory
Protocol
Link copied to clipboard
enum
Protocol
:
Enum
<
Protocol
>
协议枚举
URL
Link copied to clipboard
data
class
URL
(
val
value
:
String
)
WSClient
Link copied to clipboard
class
WSClient
(
url
:
URL
,
options
:
Map
<
String
,
String
>
)
:
Client
Functions
chain
Id
As
String
Link copied to clipboard
fun
HttpApiParams
.
chainIdAsString
(
)
:
String
detect
Protocol
Link copied to clipboard
fun
URL
.
detectProtocol
(
)
:
Protocol
new
Client
Link copied to clipboard
fun
URL
.
newClient
(
)
:
Client
初始化一个客户端
post
Link copied to clipboard
fun
post
(
request
:
BaseRequest
)
:
Response