Create a PHP code for Authentication in web api using Managing Connection

MQL5 Scripts Design

Specification

Hi I have already implemented web api auth using the mt5 given doc.  https://support.metaquotes.net/en/docs/mt5/api/webapi_pings#test_access

it is working fine. But the problem is it's creating a new new connection on every request. MT5 has gave solution for this as well. https://support.metaquotes.net/en/docs/mt5/api/webapi_pings. But am unable to implement that.
For the auth I am using this code base, https://support.metaquotes.net/en/docs/mt5/api/webapi_https#example

now your task is to give me a code for implementing the ping, so that the connection doesn’t increase. 

Responded

1
Developer 1
Rating
(94)
Projects
162
40%
Arbitration
20
15% / 75%
Overdue
73
45%
Free
Published: 3 codes
2
Developer 2
Rating
(19)
Projects
27
26%
Arbitration
2
0% / 100%
Overdue
2
7%
Free

Project information

Budget
40 - 85 USD
Deadline
to 1 day(s)