Chatterino
Namespaces | Typedefs | Enumerations | Functions
NetworkCommon.hpp File Reference
#include <functional>
#include <vector>
#include <QString>
Include dependency graph for NetworkCommon.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 chatterino
 

Typedefs

using chatterino::NetworkSuccessCallback = std::function< Outcome(NetworkResult)>
 
using chatterino::NetworkErrorCallback = std::function< void(NetworkResult)>
 
using chatterino::NetworkReplyCreatedCallback = std::function< void(QNetworkReply *)>
 
using chatterino::NetworkFinallyCallback = std::function< void()>
 

Enumerations

enum  chatterino::NetworkRequestType {
  chatterino::NetworkRequestType::Get, chatterino::NetworkRequestType::Post, chatterino::NetworkRequestType::Put, chatterino::NetworkRequestType::Delete,
  chatterino::NetworkRequestType::Patch
}
 

Functions

std::vector< std::pair< QByteArray, QByteArray > > chatterino::parseHeaderList (const QString &headerListString)