SIKHttpConnectionWorker Class Reference

Inherits from NSObject
Conforms to SIKIConnection
Declared in SIKHttpConnectionWorker.h
SIKHttpConnectionWorker.m

Overview

It implements IConnection to handle HTTP requests

– get:

It is to handle HTTP GET Method

- (id<SIKIConnectionResponse>)get:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making GET request

Discussion

It is to handle HTTP GET Method

Declared In

SIKIConnection.h

– head:

It is to handle HTTP HEAD Method

- (id<SIKIConnectionResponse>)head:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making HEAD request

Discussion

It is to handle HTTP HEAD Method

Declared In

SIKIConnection.h

– post:

It is to handle HTTP POST Method

- (id<SIKIConnectionResponse>)post:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making POST request

Discussion

It is to handle HTTP POST Method

Declared In

SIKIConnection.h

– put:

It is to handle HTTP PUT Method

- (id<SIKIConnectionResponse>)put:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making PUT request

Discussion

It is to handle HTTP PUT Method

Declared In

SIKIConnection.h

– delete:

It is to handle HTTP DELETE Method

- (id<SIKIConnectionResponse>)delete:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making DELETE request

Discussion

It is to handle HTTP DELETE Method

Declared In

SIKIConnection.h

– trace:

It is to handle HTTP TRACE Method

- (id<SIKIConnectionResponse>)trace:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making TRACE request

Discussion

It is to handle HTTP TRACE Method

Declared In

SIKIConnection.h

– options:

It is to handle HTTP OPTIONS Method

- (id<SIKIConnectionResponse>)options:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making OPTIONS request

Discussion

It is to handle HTTP OPTIONS Method

Declared In

SIKIConnection.h

– connect:

It is to handle HTTP CONNECT Method

- (id<SIKIConnectionResponse>)connect:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making CONNECT request

Discussion

It is to handle HTTP CONNECT Method

Declared In

SIKIConnection.h

– patch:

It is to handle HTTP PATCH Method

- (id<SIKIConnectionResponse>)patch:(id<SIKIConnectionRequest> const)connectionRequest

Parameters

connectionRequest

Connection Request Instance

Return Value

IConnectionResponse instance @throws ConnectionException If any exception occur while making PATCH request

Discussion

It is to handle HTTP PATCH Method

Declared In

SIKIConnection.h