GRPC PHP  1.66.0
Public Member Functions | Data Fields
Grpc\MethodDescriptor Class Reference

This is an experimental and incomplete implementation of gRPC server for PHP. More...

Public Member Functions

 __construct (object $service, string $method_name, string $request_type, int $call_type)
 

Data Fields

const UNARY_CALL
 
const SERVER_STREAMING_CALL
 
const CLIENT_STREAMING_CALL
 
const BIDI_STREAMING_CALL
 
 $service
 
 $method_name
 
 $request_type
 
 $call_type
 

Detailed Description

This is an experimental and incomplete implementation of gRPC server for PHP.

APIs are definitely going to be changed.

DO NOT USE in production.

Constructor & Destructor Documentation

◆ __construct()

Grpc\MethodDescriptor::__construct ( object  $service,
string  $method_name,
string  $request_type,
int  $call_type 
)

Field Documentation

◆ $call_type

Grpc\MethodDescriptor::$call_type

◆ $method_name

Grpc\MethodDescriptor::$method_name

◆ $request_type

Grpc\MethodDescriptor::$request_type

◆ $service

Grpc\MethodDescriptor::$service

◆ BIDI_STREAMING_CALL

const Grpc\MethodDescriptor::BIDI_STREAMING_CALL

◆ CLIENT_STREAMING_CALL

const Grpc\MethodDescriptor::CLIENT_STREAMING_CALL

◆ SERVER_STREAMING_CALL

const Grpc\MethodDescriptor::SERVER_STREAMING_CALL

◆ UNARY_CALL

const Grpc\MethodDescriptor::UNARY_CALL

The documentation for this class was generated from the following file: