<back to all web services

GetCompressionSettings

The following routes are available for this service:
GET/RestApi/diagnostics/compression-settings
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Request
Imports Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Response

Namespace Global

    Namespace Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Request

        Public Partial Class GetCompressionSettings
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.Diagnostics.Tools.PerformanceTips.Web.Services.Dto.Response

        Public Partial Class CompressionSettingsProxy
            Public Overridable Property DoStaticCompression As Boolean
            Public Overridable Property DoDynamicCompression As Boolean
        End Class
    End Namespace
End Namespace

VB.NET GetCompressionSettings DTOs

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

HTTP + CSV

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

GET /RestApi/diagnostics/compression-settings HTTP/1.1 
Host: www.asg.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"DoStaticCompression":false,"DoDynamicCompression":false}