ROHTTPClientChannel Class

From RemObjects Wiki

Jump to:navigation, search
Xcode Platform Header-48.png

This is a RemObjects SDK for Xcode Library topic

Please do not modify the page structure, but feel free to modify/add text.

ClassesProtocolsEnums

Contents

Overview

ROHTTPClientChannel implements the standard Client Channel for communicating with RemObjects SDK servers via the HTTP protocol. It is also the channel used by the ROSimpleRemoteService.


Location

RemObjectsSDK/RemObjectsSDK.h


Properties

Specifies whether the channel will honor 304 HTTP redirect responses and automatically resend the request to the redirected URL (YES, default) or not (NO).
followRedirects   assign


@property (assign) BOOL followRedirects

targetUrl   copy


@property (copy) NSString *targetUrl

The timeout, in seconds, to allow for the HTTP request to complete. Default is a generous 360 seconds (6 minutes).

timeout   assign


@property (assign) long timeout


Class Methods

channel

Creates and returns a new HTTP client channel instance.


+ (id) channel

channelWithTargetUrl:

Creates and returns a new HTTP client channel instance and sets its target URL.


+ (id) channelWithTargetUrl:(NSString *)aTargetUrl
Parameters:

  • aTargetUrl:



Instance Methods

clearHeaderFields


- (void) clearHeaderFields

getValueOfHeaderField:


- (NSString *) getValueOfHeaderField:(NSString *)name
Parameters:

  • name:


init

Initializes a new HTTP client channel instance.


- (id) init

initWithTargetUrl:

initializes a new HTTP client channel instance and sets its target URL.


- (id) initWithTargetUrl:(NSString *)aTargetUrl
Parameters:

  • aTargetUrl:


setValue:forHeaderField:


- (void) setValue:(NSString *)value forHeaderField:(NSString *)name
Parameters:

  • value:
  • name:



See Also


Ro-48.png

Product: RemObjects SDK
Available Editions: RemObjects SDK for .NET, Delphi and Xcode

GlossaryArchitectureArticlesFeaturesLibrarySamples

Navigation
products
hubs
special
Toolbox