You can use SDKs to integrate HTTP and HTTPS applications with the Browser/Server (B/S) architecture into GameShield. These applications provide services, such as administration console, customer services, and website services for adding funds. For more information, see the following topic: HTTP and HTTPS applications. This topic describes how to access HTTP and HTTPS applications after integrating these applications into GameShield.
Method | Feature | Description |
---|---|---|
Use a browser to access an endpoint that is generated by GameShield for a game. | Cost-effective and low compatibility | Potential issues: For iOS systems, a game client is switched to the background after
calling a browser to access a game. Then, the IP address and port that are generated
by GameShield immediately become unavailable. With a browser, you may experience compromised
performance when accessing HTTP and HTTPS applications that have infrequent user interactions,
such as websites for adding funds. However, you may have difficulty in accessing HTTP
and HTTPS applications that have frequent user interactions, such as websites that
provide administration consoles.
You can resolve this issue by using WebView to replace the browser. For more information, see the next method. |
A game client calls the WebView framework that is provided by Tencent inside the client rather than opening a browser. | High costs and better compatibility |
We recommend that you determine the optimal access method to a game based on your business requirements. |
Recommended. Configure a local proxy for WebView. You can map a remote proxy to the localhost by using GameShield. This method transfers all traffic that is initiated from WebView to GameShield. | High costs and optimal compatibility | This method exposes an origin server to the Internet. The origin server must reside
in the China (Hangzhou) region. If an origin server that resides in the region is
exposed, GameShield continues to forward data without unexpected interruptions.
We recommend that you determine the optimal access method to a game based on your business requirements. |