Index Documentation

BencodeContentHandler
in package
implements IContentHandler

Represents a Bencode content handler for building HTTP response messages.

Table of Contents

Interfaces

IContentHandler
Represents a content handler for building HTTP response messages.

Methods

handle()  : void
Handles body content.
match()  : bool
Determines whether this handler is suitable for the body content.

Methods

match()

Determines whether this handler is suitable for the body content.

public match(mixed $content) : bool
Parameters
$content : mixed

Content to be judged.

Return values
bool

true if suitable, false if not.


        
On this page

Search results