QueryParams.cc File Reference
#include "squid.h"
#include "base/TextException.h"
#include "ipc/TypedMsgHdr.h"
#include "mgr/IntParam.h"
#include "mgr/QueryParams.h"
#include "mgr/StringParam.h"
#include "parser/Tokenizer.h"
#include "sbuf/StringConvert.h"
#include <limits>
Include dependency graph for QueryParams.cc:

Go to the source code of this file.

Functions

static Mgr::QueryParam::Pointer ParseParamValue (const SBuf &rawValue)
 

Function Documentation

◆ ParseParamValue()

static Mgr::QueryParam::Pointer ParseParamValue ( const SBuf rawValue)
static

Parses the value part of a "param=value" URL section. Value can be a comma-separated list of integers or an opaque string.

value = *pchar | ( 1*DIGIT *( ',' 1*DIGIT ) )

Note
opaque string may be a list with a non-integer (e.g., "1,2,3,z")

Definition at line 81 of file QueryParams.cc.

References max(), min(), Must, and SBufToString().

Referenced by Mgr::QueryParams::Parse().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors