mayuki / Rin

Request/response Inspector middleware for ASP.NET Core
MIT License
650 stars 24 forks source link

refactor: Transformer API #49

Closed mayuki closed 4 years ago

mayuki commented 4 years ago

Breaking changes

IBodyDataTransformer.Transform method has been changed to IBodyDataTransformer.TryTransform.

bool TryTransform(HttpRequestRecord record, ReadOnlySpan<byte> body, StringValues contentTypeHeaderValues, out BodyDataTransformResult result);