SIKIConnection Protocol Reference

Conforms to NSObject
Declared in SIKIConnection.h

Overview

It is a blue print for connection provider classes It exposes API to interact with server

– get: required method

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: required method

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: required method

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: required method

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: required method

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: required method

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: required method

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: required method

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: required method

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