Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
Frameworks/WebServer/Request.inl
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2025. All rights reserved
3 */
4
6
7 /*
8 ********************************************************************************
9 ***************************** WebServer::Request *******************************
10 ********************************************************************************
11 */
12 inline Request::Request (Request&& src)
13 : Request{src.fInputStream_}
14 {
15 fBodyInputStream_ = move (src.fBodyInputStream_);
16 fBody_ = move (src.fBody_);
17 }
18 inline Request& Request::operator= (Request&& rhs) noexcept
19 {
20 inherited::operator= (move (rhs));
21 fBodyInputStream_ = move (rhs.fBodyInputStream_);
22 fBody_ = move (rhs.fBody_);
23 return *this;
24 }
25 inline Streams::InputStream::Ptr<byte> Request::GetInputStream ()
26 {
27 Debug::AssertExternallySynchronizedMutex::WriteContext declareContext{this->_fThisAssertExternallySynchronized};
28 return fInputStream_;
29 }
30
31}
unique_lock< AssertExternallySynchronizedMutex > WriteContext
Instantiate AssertExternallySynchronizedMutex::WriteContext to designate an area of code where protec...
InputStream<>::Ptr is Smart pointer (with abstract Rep) class defining the interface to reading from ...