C# Класс Nancy.Serialization.ServiceStack.Helpers

Показать файл Открыть проект

Открытые методы

Метод Описание
IsJsonType ( string contentType ) : bool

Attempts to detect if the content type is JSON. Supports: application/json text/json application/vnd[something]+json Matches are case insentitive to try and be as "accepting" as possible.

Описание методов

IsJsonType() публичный статический Метод

Attempts to detect if the content type is JSON. Supports: application/json text/json application/vnd[something]+json Matches are case insentitive to try and be as "accepting" as possible.
public static IsJsonType ( string contentType ) : bool
contentType string Request content type
Результат bool