43 lines
952 B
C#
43 lines
952 B
C#
|
|
/*
|
|||
|
|
* Copyright (C) Alibaba Cloud Computing
|
|||
|
|
* All rights reserved.
|
|||
|
|
*
|
|||
|
|
* 版权所有 (C)阿里云计算有限公司
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.IO;
|
|||
|
|
|
|||
|
|
namespace Aliyun.Api.LOG.Common.Communication
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Description of ServiceMessage.
|
|||
|
|
/// </summary>
|
|||
|
|
internal class ServiceMessage
|
|||
|
|
{
|
|||
|
|
// HTTP header keys are case-insensitive.
|
|||
|
|
protected IDictionary<String, String> _headers;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets the dictionary of HTTP headers.
|
|||
|
|
/// </summary>
|
|||
|
|
public virtual IDictionary<String, String> Headers
|
|||
|
|
{
|
|||
|
|
get { return _headers; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets or sets the content stream.
|
|||
|
|
/// </summary>
|
|||
|
|
public virtual Stream Content { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Constructor.
|
|||
|
|
/// </summary>
|
|||
|
|
public ServiceMessage()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|