Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2020-10-14 (1 month ago) | | Not yet rated by the users | | Total: 20 This week: 16 | | All time: 10,081 This week: 23 |
|
Description | | Author |
This package be used to send HTTP requests to remote service APIs.
It extends the custom HTTP client class to implement functions that can send HTTP requests to the Web server of a service API to call known API functions.
Currently can call API functions to connect to the API to create a session and login as a given user with a password. | |
|
|
Innovation award
Nominee: 3x |
|
Details
Service client
Intro
Mezon provides simple client services based on the Mezon framework.
Installation
Just print in console
composer require mezon/service-client
And that's all )
Setup
First of all you need to create client and set to wich service it must send requests:
$client = new \Mezon\Service\ServiceClient('https://some-service.com/');
And since then you can connect to this service:
client->connect('login', 'password');
Default methods
You already know about one out-of-the box method - connect. But there are more of them.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.