fryette / webview_cookie_manager

MIT License
48 stars 52 forks source link

Custom Cookie #27

Closed negator closed 3 years ago

negator commented 3 years ago

Implements a custom dart cookie implementation to supersede the existing one from dart:io package. The reasons for this are to due with RFC compliance, performance and flexibility.

This patch additionally makes updates to the existing setCookies and clearCookies functions. Namely, the functions completely finish their operations (setting or clearing) before returning an result asynchronously. Prior to this patch, the functions returned immediately, without waiting for completion leading to race conditions.