forked from aws/aws-lambda-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEncodingOptions.cs
More file actions
20 lines (19 loc) · 937 Bytes
/
EncodingOptions.cs
File metadata and controls
20 lines (19 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Amazon.Lambda.AspNetCoreServer.Hosting
{
/// <summary>
/// Options for configuring AWS Lambda content type transformation
/// </summary>
public class EncodingOptions : IEncodingOptions
{
/// <summary>
/// Defines a mapping from registered content types to the response encoding format
/// which dictates what transformations should be applied before returning response content
/// </summary>
public Dictionary<string, ResponseContentEncoding>? ResponseContentEncodingForContentType { get; set ; }
/// <summary>
/// Defines a mapping from registered content encodings to the response encoding format
/// which dictates what transformations should be applied before returning response content
/// </summary>
public Dictionary<string, ResponseContentEncoding>? ResponseContentEncodingForContentEncoding { get; set; }
}
}