Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::HttpAsyncConnection< ReadQueue, WriteQueue, HeaderBytes, StreamBytes > Struct Template Reference

Adds compile-time configurable read and write queues to HttpAsyncConnectionBase. More...

#include <HttpAsyncServer.h>

Inheritance diagram for SC::HttpAsyncConnection< ReadQueue, WriteQueue, HeaderBytes, StreamBytes >:
SC::HttpAsyncConnectionBase SC::HttpConnection

Public Attributes

AsyncReadableStream::Request readQueue [ReadQueue]
 
AsyncWritableStream::Request writeQueue [WriteQueue]
 
AsyncBufferView buffers [ReadQueue+WriteQueue]
 
char headerStorage [HeaderBytes]
 
char streamStorage [StreamBytes]
 
- Public Attributes inherited from SC::HttpAsyncConnectionBase
ReadableSocketStream readableSocketStream
 
WritableSocketStream writableSocketStream
 
SocketDescriptor socket
 
- Public Attributes inherited from SC::HttpConnection
HttpRequest request
 
HttpResponse response
 
AsyncBuffersPool buffersPool
 
AsyncPipeline pipeline
 

Additional Inherited Members

- Public Member Functions inherited from SC::HttpConnection
void reset ()
 Prepare this client for re-use, marking it as Inactive.
 
void setHeaderMemory (Span< char > memory)
 Sets memory for the header.
 
ID getConnectionID () const
 The ID used to find this client in HttpConnectionsPool.
 
- Protected Types inherited from SC::HttpConnection
enum class  State {
  Inactive ,
  Active
}
 
- Protected Attributes inherited from SC::HttpConnection
State state = State::Inactive
 
ID connectionID
 
Span< char > headerMemory
 

Detailed Description

template<int ReadQueue, int WriteQueue, int HeaderBytes, int StreamBytes>
struct SC::HttpAsyncConnection< ReadQueue, WriteQueue, HeaderBytes, StreamBytes >

Adds compile-time configurable read and write queues to HttpAsyncConnectionBase.


The documentation for this struct was generated from the following file: