WIP: initial prototype
- Standardized event emitters - Refactored transport.request to have a better handling of the state - Added sniff event - Improved abort handling
This commit is contained in:
@ -44,6 +44,7 @@ class Serializer {
|
||||
qserialize (object) {
|
||||
debug('qserialize', object)
|
||||
if (object == null) return ''
|
||||
if (typeof object === 'string') return object
|
||||
// arrays should be serialized as comma separated list
|
||||
const keys = Object.keys(object)
|
||||
for (var i = 0, len = keys.length; i < len; i++) {
|
||||
|
||||
Reference in New Issue
Block a user