Client-Server Model

Interaction between Plesk and third-party software is based on the client-server programming model.

Interaction between Plesk and third-party client software

The server part is presented by Plesk API RPC server which is a part of Plesk. The client-part software should be created by a third party.

A client-part application forms an XML-based request message, adds a standard HTTP header, and sends it to a Plesk server. On the server side, the message gets to Plesk API RPC server that calls internal Plesk functions to perform the requested operations. Then, it forms a response message and sends it back. The client receives this resulting message (the operation status and, possibly, an error message), gets the information about the execution status, and the interaction ends.