C# 클래스 Nancy.Serialization.ServiceStack.Helpers

파일 보기 프로젝트 열기: NancyFx/Nancy.Serialization.ServiceStack

공개 메소드들

메소드 설명
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