/// <summary> /// Creates HTTP content for the specified DTO. /// </summary> protected override HttpContent CreateHttpContentCore(object content, string mediaType) => new DelegateHttpContent(mediaType ?? DefaultMediaType, stream => ServiceJsonUtility.ToJsonStream(content, stream));