webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WebKit::HTTPBody::Element Struct Reference

#include <SessionState.h>

Public Types

enum  Type { Type::Data, Type::File, Type::Blob }
 

Public Member Functions

void encode (IPC::Encoder &) const
 

Static Public Member Functions

static bool decode (IPC::Decoder &, Element &)
 

Public Attributes

Type type = Type::Data
 
Vector< char > data
 
String filePath
 
int64_t fileStart
 
std::optional< int64_tfileLength
 
std::optional< double > expectedFileModificationTime
 
String blobURLString
 

Member Enumeration Documentation

◆ Type

Enumerator
Data 
File 
Blob 

Member Function Documentation

◆ decode()

bool WebKit::HTTPBody::Element::decode ( IPC::Decoder decoder,
Element result 
)
static

◆ encode()

void WebKit::HTTPBody::Element::encode ( IPC::Encoder encoder) const

Member Data Documentation

◆ blobURLString

String WebKit::HTTPBody::Element::blobURLString

◆ data

Vector<char> WebKit::HTTPBody::Element::data

◆ expectedFileModificationTime

std::optional<double> WebKit::HTTPBody::Element::expectedFileModificationTime

◆ fileLength

std::optional<int64_t> WebKit::HTTPBody::Element::fileLength

◆ filePath

String WebKit::HTTPBody::Element::filePath

◆ fileStart

int64_t WebKit::HTTPBody::Element::fileStart

◆ type

Type WebKit::HTTPBody::Element::type = Type::Data

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