ServiceStack Home (Live)

<back to all web services

RedirectVersionSwiftJsonServiceClient

The following routes are available for this service:
All Verbs/dist/{XCodeVersion}/JsonServiceClient.swift
All Verbs/RedirectVersionSwiftJsonServiceClient
"use strict";
export class RedirectVersionSwiftJsonServiceClient {
    /** @param {{xCodeVersion?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    xCodeVersion;
}

JavaScript RedirectVersionSwiftJsonServiceClient DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /dist/{XCodeVersion}/JsonServiceClient.swift HTTP/1.1 
Host: account.servicestack.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	xCodeVersion: String
}