AZSCorsRule Class Reference

Inherits from NSObject
Declared in AZSCorsRule.h
AZSCorsRule.m

Overview

Represents a Cross-Origin Resource Sharing (CORS) rule.

  allowedOrigins

The domain names allowed via CORS.

@property (strong) NSMutableArray *allowedOrigins

Discussion

The domain names allowed via CORS.

Declared In

AZSCorsRule.h

  exposedHeaders

The response headers that should be exposed to client via CORS.

@property (strong) NSMutableArray *exposedHeaders

Discussion

The response headers that should be exposed to client via CORS.

Declared In

AZSCorsRule.h

  allowedHeaders

The headers allowed to be part of the CORS request.

@property (strong) NSMutableArray *allowedHeaders

Discussion

The headers allowed to be part of the CORS request.

Declared In

AZSCorsRule.h

  allowedHttpMethods

The HTTP methods permitted to execute.

@property AZSCorsHttpMethod allowedHttpMethods

Discussion

The HTTP methods permitted to execute.

Declared In

AZSCorsRule.h

  maxAgeInSeconds

The length of time in seconds that a preflight response should be cached by the browser.

@property NSInteger maxAgeInSeconds

Discussion

The length of time in seconds that a preflight response should be cached by the browser.

Declared In

AZSCorsRule.h