NAME
Net::WebSocket::HTTP - HTTP utilities for Net::WebSocket
SYNOPSIS
@tokens
= Net::WebSocket::HTTP::split_tokens(
$tokens_str
);
FUNCTIONS
@tokens = split_tokens( TOKENS_STR )
A parser for the 1#token
format as defined in RFC 2616. (1#
and token
are defined independently of each other.)
Returns a list of the HTTP tokens in TOKENS_STR. Throws an exception if any of the tokens is invalid as per the RFC’s token
definition.