OpenSwoole\GRPC\Request->__construct

25.x is outdated, please check the latest version 26.x


Latest version: pecl install openswoole-26.2.0

Declaration

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

Parameters

context

Context data.

service

Service name of GPRC.

method

Method of GPRC service.

payload

Payload of request.

Return

Description

Create a new GRPC Request with constructor function.

Last updated on February 28, 2026