a reference to a protocol name[/version] string; no 0-termination is assumed More...

#include <HttpUpgradeProtocolAccess.h>

Collaboration diagram for ProtocolView:

Public Member Functions

 ProtocolView (const char *const start, const size_t len)
 
 ProtocolView (const SBuf &proto)
 

Public Attributes

SBuf name
 everything up to (but excluding) the first slash('/') More...
 
SBuf version
 everything after the name, including the slash('/') More...
 

Detailed Description

Definition at line 19 of file HttpUpgradeProtocolAccess.h.

Constructor & Destructor Documentation

◆ ProtocolView() [1/2]

ProtocolView::ProtocolView ( const char *const  start,
const size_t  len 
)

Definition at line 22 of file HttpUpgradeProtocolAccess.cc.

◆ ProtocolView() [2/2]

ProtocolView::ProtocolView ( const SBuf proto)
explicit

Definition at line 27 of file HttpUpgradeProtocolAccess.cc.

Member Data Documentation

◆ name

SBuf ProtocolView::name

◆ version

SBuf ProtocolView::version

Definition at line 26 of file HttpUpgradeProtocolAccess.h.

Referenced by operator<<(), and vAinB().


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors