phpday 2027 - Call for Papers

The Yar_Server class

(No version information available, might only be in Git)

Introduction

Wraps an object and exposes all of its public methods as a remote service, served over HTTP by Yar_Server::handle().

The PHP extension only provides an HTTP server. A TCP and Unix socket server speaking the same Yar protocol is provided by the » Yar C framework.

Class synopsis

class Yar_Server {
/* Properties */
protected object $_executor = null;
/* Methods */
final public function __construct(object $executor)
public function handle(): bool
}

Properties

_executor

The object whose public methods are exposed as RPC services.

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top