GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PROTOCOL::WEBSOCKET::URL (3)

.ds Aq ’

NAME

Protocol::WebSocket::URL - WebSocket URL

CONTENTS

SYNOPSIS



    # Construct
    my $url = Protocol::WebSocket::URL->new;
    $url->host(example.com);
    $url->port(3000);
    $url->secure(1);
    $url->to_string; # wss://example.com:3000

    # Parse
    my $url = Protocol::WebSocket::URL->new(wss://example.com:3000);
    $url->host;   # example.com
    $url->port;   # 3000
    $url->secure; # 1



DESCRIPTION

Construct or parse a WebSocket URL.

ATTRIBUTES

CWhost

CWport

CWresource_name

CWsecure

METHODS

CWnew

Create a new Protocol::WebSocket::URL instance.

CWparse

Parse a WebSocket URL.

CWto_string

Construct a WebSocket URL.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PROTOCOL::WEBSOCKET::URL (3) 2011-04-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.