php8.5
Home/ Manual/ reference / yar/ The Yar_Server class

The Yar_Server class

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

Intro

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

_executor

The object whose public methods are exposed as RPC services.

Yar-server

Source: reference/yar/yar-server.xml · from the official PHP manual (php/doc-en)