Skip to content

URLSessionExtension

The URLSessionExtension extends Foundation’s URLSession and URLRequest to connect to Storyblok’s Content Delivery API and Management API.

The lowest-level extension in Storyblok’s Swift package handles the following:

  • Authentication
  • Region routing
  • Sensible request defaults and preventive rate limiting

Throughout, the full familiar URLSession API stays available for building and sending requests.

Learn more in the developer guide.

The URLSessionExtension is the most flexible library in Storyblok’s Swift SDK. To fetch and decode stories with a higher-level, typed module, use the StoryblokClient.

For the complete documentation of URLSessionExtension, browse the generated API reference.

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.