Next:
Net::StarezServer::HTTPServer
Previous:
Net::StarezServer::Games
 [Table of Contents]

Net::StarezServer::HTTPClient



NAME

Net::StarezServer::HTTPClient - Service a HTTP client socket

DESCRIPTION

This module takes care of HTTP client connections. In effect, this module provides a Starez web interface.

The module has been written by the standards of RFC 2616, 'HTTP/1.1'.

OVERRIDE METHODS

The method schematics are bound to change until BaseClient has reached its final form.

These methods are methods that override methods in BaseClient.

input

Parse new input received at the socket.

say

This is an alias for _say in Net::StarezServer::BaseClient.

HTTP PARSING AND HANDLING METHODS

handleRequest ($request)

handlePayload ($payload)

finishRequest ($request)

parseHeaders (@headers)

parseRequestLine ($request)

validMethod ($method)

HTTP RESPONSES

badRequestReply

notImplementedReply

okReply ($request)

continueReply ()

expectationFailedReply ()

replyStatusLine($httpcode);

standardHeaders ()

sendMessageBody (@text)

@text will be joined to one $text, all \r's will be removed and all \n's substituted for \r\n.

AUTHOR

Written by Sjors Gielen <dazjorz@starez.org>


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Jun 25 20:02:24 2008