VonageClientLibrary 1.0.0

VonageClientLibrary 1.0.0

Maintained by Abdul Ajetunmobi.



  • By
  • author

VonageClientLibrary

A library to support using the Vonage APIs on iOS. Features:

Installation

Swift Package Manager

import PackageDescription

let package = Package(
    dependencies: [
        .Package(url: "https://github.com/Vonage/vonage-ios-client-library.git")
    ]
)

Cocoapods

pod 'VonageClientLibrary'

Compatibility

iOS 13+

Usage

Force a Cellular Network Request

import VonageClientLibrary

let client = VGCellularRequestClient()
let params = VGCellularRequestParameters(url: "http://www.vonage.com",
                                        headers: ["x-my-header": "My Value"],
                                        queryParameters: ["query-param" : "value"]
                                        maxRedirectCount: 10)
        
let response = try await client.startCellularRequest(params: params)