#include "node.h"
#include "node_buffer.h"
#include "async-wrap.h"
#include "async-wrap-inl.h"
#include "env.h"
#include "env-inl.h"
#include "http_parser.h"
#include "stream_base.h"
#include "stream_base-inl.h"
#include "util.h"
#include "util-inl.h"
#include "v8.h"
#include <stdlib.h>
#include <string.h>
 
Go to the source code of this file.
 | 
| #define  | HTTP_CB(name) | 
|   | 
| #define  | HTTP_DATA_CB(name) | 
|   | 
| #define  | V(num,  name,  string)   methods->Set(num, FIXED_ONE_BYTE_STRING(env->isolate(), #string)); | 
|   | 
◆ HTTP_CB
Value:static int name(http_parser* p_) {                                          \
    return self->name##_();                                                   \
  }                                                                           \
  int name##_()
 
Definition at line 79 of file node_http_parser.cc.
 
 
◆ HTTP_DATA_CB
      
        
          | #define HTTP_DATA_CB | 
          ( | 
            | 
          name | ) | 
           | 
        
      
 
Value:static int name(http_parser* p_, const char* at, size_t length) {           \
    return self->name##_(at, length);                                         \
  }                                                                           \
  int name##_(const char* at, size_t length)
 
Definition at line 87 of file node_http_parser.cc.
 
 
      
        
          | #define V | 
          ( | 
            | 
          num,  | 
        
        
           | 
           | 
            | 
          name,  | 
        
        
           | 
           | 
            | 
          string  | 
        
        
           | 
          ) | 
           |    methods->Set(num, FIXED_ONE_BYTE_STRING(env->isolate(), #string)); | 
        
      
 
 
◆ current_buffer_
  
  
      
        
          | Local<Object> current_buffer_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ current_buffer_data_
  
  
      
        
          | char* current_buffer_data_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ current_buffer_len_
  
  
      
        
          | size_t current_buffer_len_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ fields_
◆ got_exception_
◆ have_flushed_
◆ nullptr
◆ num_fields_
◆ num_values_
◆ on_heap_
◆ parser_
◆ prev_alloc_cb_
  
  
      
        
          | StreamResource::Callback<StreamResource::AllocCb> prev_alloc_cb_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ prev_read_cb_
  
  
      
        
          | StreamResource::Callback<StreamResource::ReadCb> prev_read_cb_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ refcount_
◆ size_
◆ status_message_
  
  
      
        
          | StringPtr status_message_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ str_
◆ url_
◆ values_