HttpUpgradeProtocolAccess.h File Reference
#include "acl/forward.h"
#include "sbuf/SBuf.h"
#include <map>
Include dependency graph for HttpUpgradeProtocolAccess.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ProtocolView
 a reference to a protocol name[/version] string; no 0-termination is assumed More...
 
class  HttpUpgradeProtocolAccess
 Allows or blocks HTTP Upgrade protocols (see http_upgrade_request_protocols) More...
 
class  HttpUpgradeProtocolAccess::NamedGuard
 a single configured access rule for an explicitly named protocol More...
 

Functions

std::ostream & operator<< (std::ostream &, const ProtocolView &)
 
bool vAinB (const ProtocolView &a, const ProtocolView &b)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const ProtocolView  
)

◆ vAinB()

bool vAinB ( const ProtocolView a,
const ProtocolView b 
)
inline

Either b has no version restrictions or both have the same version. For example, "ws/1" is in "ws" but "ws" is not in "ws/1".

Definition at line 37 of file HttpUpgradeProtocolAccess.h.

References SBuf::isEmpty(), and ProtocolView::version.

Referenced by HttpUpgradeProtocolAccess::forApplicable().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors