RingCentral.Http.HttpHeaders.IsContentType C# (CSharp) Method

IsContentType() private method

Determines if the content is present in the headers
private IsContentType ( string contentType ) : bool
contentType string
return bool
        private bool IsContentType(string contentType)
        {
            if (Headers.ContentType == null)
            {
                return false;
            }
            return Headers.ContentType.ToString().Contains(contentType);
        }