nl_tokens: @method parse Parses the a buffer into the expected internal type based on standard request headers ( content - type and charset ) .
pl_tokens: function parse ( buffer , headers ) { var params = getParsingParams ( headers ) ; var strategy = PARSING_STRATEGIES [ params . contentType ] || function ( /*buffer, headers*/ ) { return null ; } ; try { return strategy ( buffer , params . charset ) ; } catch ( <mask> ) { // Might be nice to do some logging here. return null ; } }