C# Class RingCentral.Http.HttpHeaders

ファイルを表示 Open project: ringcentral/ringcentral-csharp

Public Methods

Method Description
IsJson ( ) : bool

Inspects headers to determine if content type is JSON

IsMultiPart ( ) : bool

Inspects headers to determine if content type is MultiPart

IsUrlEncoded ( ) : bool

Inspects headers to determine if content type is UrlEncoded

Private Methods

Method Description
IsContentType ( string contentType ) : bool

Determines if the content is present in the headers

Method Details

IsJson() public method

Inspects headers to determine if content type is JSON
public IsJson ( ) : bool
return bool

IsMultiPart() public method

Inspects headers to determine if content type is MultiPart
public IsMultiPart ( ) : bool
return bool

IsUrlEncoded() public method

Inspects headers to determine if content type is UrlEncoded
public IsUrlEncoded ( ) : bool
return bool