PHP Classes

File: examples/client.php

Recommend this page to a friend!
  Classes of Wolfy-J   goridge   examples/client.php   Download  
File: examples/client.php
Role: Example script
Content type: text/plain
Description: Example script
Class: goridge
Run Golang code from PHP calling its RPC server
Author: By
Last change: release 2.0.0
Date: 5 years ago
Size: 165 bytes


Class file image Download

use Spiral\Goridge;


$rpc = new Goridge\RPC(new Goridge\SocketRelay("", 6001));

$rpc->call("App.Hi", "Antony");