Static
Create a new HttpClient from the given environment variables
HttpClient
It first gets the environment variables from the .env file in the current directory.
.env
LONGPORT_HTTP_URL
LONGPORT_APP_KEY
LONGPORT_APP_SECRET
LONGPORT_ACCESS_TOKEN
Performs a HTTP request
Optional
Create a new
HttpClient
from the given environment variablesIt first gets the environment variables from the
.env
file in the current directory.Variables
LONGPORT_HTTP_URL
- HTTP endpoint urlLONGPORT_APP_KEY
- App keyLONGPORT_APP_SECRET
- App secretLONGPORT_ACCESS_TOKEN
- Access token