The Yar_Server class

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

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

Properties

_executor
The object whose public methods are exposed as RPC services.
Table of Contents