<back to all web services

GetSslOffloadingStatus

The following routes are available for this service:
GET/RestApi/diagnostics/ssl-offloading
import 'package:servicestack/servicestack.dart';

class GetSslOffloadingStatus implements IConvertible
{
    GetSslOffloadingStatus();
    GetSslOffloadingStatus.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "GetSslOffloadingStatus";
    TypeContext? context = _ctx;
}

class SslOffloadingProxy implements IConvertible
{
    bool? Enabled;

    SslOffloadingProxy({this.Enabled});
    SslOffloadingProxy.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Enabled = json['Enabled'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Enabled': Enabled
    };

    getTypeName() => "SslOffloadingProxy";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: <String, TypeInfo> {
    'GetSslOffloadingStatus': TypeInfo(TypeOf.Class, create:() => GetSslOffloadingStatus()),
    'SslOffloadingProxy': TypeInfo(TypeOf.Class, create:() => SslOffloadingProxy()),
});

Dart GetSslOffloadingStatus DTOs

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

HTTP + OTHER

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

GET /RestApi/diagnostics/ssl-offloading HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"Enabled":false}