vapor / http

🚀 Non-blocking, event-driven HTTP built on Swift NIO.
MIT License
240 stars 65 forks source link

Make the `HTTPMessageDecoder.decode` extension method public #359

Closed MrMage closed 5 years ago

MrMage commented 5 years ago

Also adds support for decoding the JSON API media type (see https://jsonapi.org/format/). (Requires https://github.com/vapor/core/pull/202.)

MrMage commented 5 years ago

It seems to already be public there, that's why I didn't file a second PR.

On 2. Apr 2019, at 21:55, Tanner notifications@github.com wrote:

@tanner0101 commented on this pull request.

LGTM. We should also port this to Vapor 4.

https://github.com/vapor/http/blob/master/Sources/HTTPKit/Content/HTTPMessageDecoder.swift#L48

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

MrMage commented 5 years ago

Renamed jsonApi to jsonAPI here as well.

penny-coin commented 5 years ago

Hey @MrMage, you just merged a pull request, have a coin!

You now have 21 coins.