You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
850 B
Markdown
26 lines
850 B
Markdown
|
|
# setBaseUrl(dataServerUrl, positionServerUrl)
|
|
|
|
This function is used to set the server IP or URL for the services required by the P&P module.
|
|
|
|
usually you will receive the following :
|
|
|
|
API : https://dev.penguinin.com:9090/api
|
|
|
|
PE : https://dev.penguinin.com:9090/pe
|
|
|
|
The URL consists of two parts: the base URL and the service name. The base URL is the first part of the URL, and it specifies the server or hostname. The service name is the second part of the URL, and it specifies the specific service that is being accessed."
|
|
|
|
For example, in the following URL:
|
|
|
|
https://dev.penguinin.com:9090/api
|
|
|
|
The base URL is https://dev.penguinin.com:9090
|
|
|
|
The service name is api
|
|
|
|
In this configuration you will pass the first part of the URL which is the server IP
|
|
|
|
```java
|
|
setBaseUrl(https://dev.penguinin.com:9090, https://dev.penguinin.com:9090)
|
|
``` |