ctx_msg.
Write(os);
141 size_terrbuf_size = 256,
158 size_terrbuf_size = 256,
186 voidPutMsg(
const string&
msg);
189 boolEmptyMsg(
void);
190 voidClearMsg(
void);
197 const CCgiEntry& GetRequestValue(
const string& name,
bool* is_found = 0)
200 voidAddRequestValue (
const string& name,
const CCgiEntry&
value);
201 voidRemoveRequestValues(
const string& name);
202 voidReplaceRequestValue(
const string& name,
const CCgiEntry&
value);
218{
returnGetSelfURL(); }
224 const string& GetSelfURL(
void)
const;
227 bool IsSecure(
void)
const{
returnm_IsSecure; }
238 stringRetrieveTrackingId()
const;
242 voidCheckStatus(
void)
const;
249 static boolProcessCORSRequest(
const CCgiRequest& request,
266ESecureMode x_IsSecure(
void)
const;
static void PrintMsg(EDiagSev sev, const string &msg)
Exception classes used by the NCBI CGI framework.
API to store CGI session data between Web requests.
CTimeout â Timeout interval.
std::ofstream out("events_result.xml")
main entry point for tests
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
@ eTakeOwnership
An object can take ownership of another.
list< AutoPtr< CCtxMsg > > TMessages
CCtxMsgString(const string &msg)
TStreamStatus GetStreamStatus(void) const
const CCgiResponse & GetResponse(void) const
void SetSessionCookieDomain(const string &domain)
Set session cookie's domain Default: .ncbi.nlm.nih.gov.
CCgiApplication & x_GetApp(void) const
const CCgiRequest & GetRequest(void) const
static const char * sm_nl
virtual CNcbiOstream & Write(CNcbiOstream &os) const =0
void SetSessionCookiePath(const string &path)
Set session cookie's path Default: /.
CCgiException::EStatusCode m_StatusCode
unique_ptr< CCgiServerContext > m_ServerContext
CTime m_SessionCookieExpTime
string m_SessionCookieDomain
void PutMsg(const string &msg)
CCgiServerContext & x_GetServerContext(void) const
const CCgiApplication & GetApp(void) const
CNcbiOstream & operator<<(CNcbiOstream &os, const CCtxMsg &ctx_msg)
ESelfUrlPort
Whether to use the port number when composing the CGI's own URL.
CNcbiOstream & PrintMsg(CNcbiOstream &os)
void SetImplOwnership(EOwnership owner)
Spescify which class is responsible for Session Storage destruction if set to eTakeOwnership,...
void SetSessionIdName(const string &name)
Set name of the cookie with session id.
unique_ptr< CCgiRequest > m_Request
CCgiContext & operator=(const CCgiContext &)
bool IsSecure(void) const
Check if the current scheme is secure (https) or not (http).
const CCgiServerContext & GetServCtx(void) const
unique_ptr< CCgiSession > m_Session
string m_SessionCookiePath
void DisableCookie()
Do not use a cookie to transfer session id between requests By default cookie is enabled.
CCgiContext(const CCgiContext &)
const string & GetSelfURL(ESelfUrlPort) const
Using HTTP environment variables, compose the CGI's own URL as: SCHEME://SERVER_NAME[:SERVER_PORT]/SC...
void SetSessionCookieExpTime(const CTime &exp_time)
Set session cookie's expiration time Default: none.
@ eSelfUrlPort_Strip
Do not use port number in self-URL.
@ eSelfUrlPort_Use
Use port number in self-URL.
EStatusCode
HTTP status codes.
int TFlags
Startup initialization.
void Write(CObjectOStream &out, TConstObjectPtr object, const CTypeRef &type)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
IO_PREFIX::istream CNcbiIstream
Portable alias for istream.
enum ENcbiOwnership EOwnership
Ownership relations between objects.
const GenericPointer< typename T::ValueType > T2 value
CProjBulderApp & GetApp(void)
access to App singleton
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4