OpenSwoole\GRPC\Server->__construct

Latest version: pecl install openswoole-22.0.0 | composer require openswoole/core:22.1.1

Declaration

<?php OpenSwoole\GRPC\Server->__construct()

Parameters

host

The IP address of the server.

port

The port of the server.

mode

Which mode to start the server.

sockType

The socket type of the server.

Return

Description

Create a new GRPC Server with constructor function.

Last updated on September 19, 2022