ROHTTPClientChannel Class

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for RemObjects SDK for Xcode
This page is generated from external data, please do not update

ProtocolsClassesEnumsAliasesImplements

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/ROHTTPClientChannel.h

Implemented interfaces


Properties

delegate   protected assign     (declared in ROClientChannel)

Delegate object to receive events through the ROClientChannelDelegate protocol.



@property (assign) id delegate


followRedirects   assign

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



@property (assign) BOOL followRedirects


isBusy   protected     (declared in ROClientChannel)



@property (readonly) BOOL isBusy


targetUrl   protected copy deprecated     (declared in ROClientChannel)



@property (copy, deprecated) NSString *targetUrl


timeout   assign

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



@property (assign) long timeout


Class Methods

channel   protected     (declared in ROClientChannel)



+ (id) channel


channelWithTargetUrl: (NSString *): id   protected deprecated     (declared in ROClientChannel)



+ (id) channelWithTargetUrl:(NSString *)targetUrl


Parameters:

  • targetUrl:


channelWithTargetURL: (NSURL *): id   protected     (declared in ROClientChannel)



+ (id) channelWithTargetURL:(NSURL *)targetUrl


Parameters:

  • targetUrl:


Instance Methods

asyncDispatch:   protected deprecated     (declared in ROClientChannel)

for internal use; dispatches the given message asynchronously and returns an ROAsyncRequest reference. This method relies on The intAsyncDispatch:responseMessage: implementation provided by concrete client channel implementations for the actual dispatching.


- (ROAsyncRequest *) asyncDispatch:(id)aMessage


Parameters:

  • aMessage:


asyncDispatch:start:   protected deprecated     (declared in ROClientChannel)



- (ROAsyncRequest *) asyncDispatch:(id)aMessage start:(BOOL)start


Parameters:

  • aMessage:
  • start:


asyncDispatch:withProxy:start:   protected     (declared in ROClientChannel)



- (ROAsyncRequest *) asyncDispatch:(id)aMessage withProxy:(ROAsyncProxy *)proxy start:(BOOL)start


Parameters:

  • aMessage:
  • proxy:
  • start:


asyncDispatch:withProxy:startWithBlock:   protected     (declared in ROClientChannel)



- (ROAsyncRequest *) asyncDispatch:(id)aMessage withProxy:(ROAsyncProxy *)proxy startWithBlock:(void(^)(ROAsyncRequest *))block


Parameters:

  • aMessage:
  • proxy:
  • block:


clearHeaderFields



- (void) clearHeaderFields


dispatch:   protected     (declared in ROClientChannel)

for internal use; Dispatches the given message synchronously. This method relies on the intDispatch: implementation provided by concrete client channel implementations for the actual dispatching.


- (void) dispatch:(id)aMessage


Parameters:

  • aMessage:


getValueOfHeaderField:



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


Parameters:

  • name:


initWithTargetUrl: (NSString *): id   protected deprecated     (declared in ROClientChannel)



- (id) initWithTargetUrl:(NSString *)aTargetUrl


Parameters:

  • aTargetUrl:


initWithTargetURL: (NSURL *): id   protected     (declared in ROClientChannel)



- (id) initWithTargetURL:(NSURL *)aTargetURL


Parameters:

  • aTargetURL:


setValue:forHeaderField:



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


Parameters:

  • value:
  • name:


See Also


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

GlossaryArticlesLibrarySamples

Personal tools
Namespaces

Variants
Actions
Navigation
products
platforms
special
Toolbox