launchdarkly / ios-client-sdk

LaunchDarkly Client-side SDK for iOS (Swift and Obj-C)
https://docs.launchdarkly.com/sdk/client-side/ios
Other
68 stars 82 forks source link

feat: Enable gzip support for event payloads #379

Closed keelerm84 closed 1 month ago

keelerm84 commented 1 month ago

Small comment, the parameter is called body which is generic, but then the internal variable is called eventPayload which is more specific. This indicates an assumption about how this function is being used. Consider not using as specific a name. Maybe, bodyToUse?

Done! I went with httpBody to match the property assignment.