ROHTTPBasedClientChannelDelegate

Overview

Defines the HTTP based client channel delegate methods.

Location

Required Methods


clientChannel:shouldAcceptUntrustedServerCertificate:

Informs the delegate that is shoud make decision regarding an untrusted HTTPS certificate. This happens when HTTP-based client channel tries to connect to a server using SSL but the server presents a certificate that is not considered trusted by the operating system (e.g. certificate is self-signed). The method should return YES if the client should accept the certificate. Otherwise the connection will fail.

- (BOOL) clientChannel:(ROClientChannel *)channel shouldAcceptUntrustedServerCertificate:(ROCertificateInfo *)cert

Parameters:

  • channel: The client channel instance making the connection attempt
  • cert: Points to the ROCertificateInfo instance containing the information about the certificate presented by the server