Skip to content

Commit

Permalink
more request header API synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jun 6, 2014
1 parent db03250 commit c5f42b4
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,33 @@ h3_request_header_get_from(RequestHeader *header); // Get "From"
h3_request_header_get_host(RequestHeader *header); // Get "Host"
h3_request_header_get_if_match(RequestHeader *header); // Get "If-Match"

h3_request_header_get_if_none_match(RequestHeader *header); // Get "If-None-Match"
h3_request_header_get_if_range(RequestHeader *header); // Get "If-Range"
h3_request_header_get_if_unmodified_since(RequestHeader *header); // Get "If-Unmodified-Since"

h3_request_header_get_range(RequestHeader *header); // Get "Range"
h3_request_header_get_referer(RequestHeader *header); // Get "Referer"
h3_request_header_get_max_forwards(RequestHeader *header); // Get "Max-Forwards"
h3_request_header_get_proxy_authorization(RequestHeader *header); // Get "Proxy-Authorization"
h3_request_header_get_range(RequestHeader *header); // Get "Range"
h3_request_header_get_user_agent(RequestHeader *header); // Get "User-Agent"
h3_request_header_get_te(RequestHeader *header); // Get "TE"


/*
* Response Header
* http://tools.ietf.org/html/rfc2616#section-6
*/
h3_request_header_get_accept_encoding(RequestHeader *header); // Get "Accept-Encoding"
h3_request_header_get_transfer_encoding(RequestHeader *header); // Get "Transfer-Encoding"
h3_request_header_get_accept_language(RequestHeader *header); // Get "Accept-Language"
h3_request_header_get_accept_ranges(RequestHeader *header); // Get "Accept-Ranges"
h3_request_header_get_cache_control(RequestHeader *header); // Get "Cache-Control"
h3_request_header_get_connection(RequestHeader *header); // Get "Connection"
h3_request_header_get_date(RequestHeader *header); // Get "Date"
h3_request_header_get_transfer_encoding(RequestHeader *header); // Get "Transfer-Encoding"
h3_request_header_get_upgrade(RequestHeader *header); // Get "Upgrade"
h3_request_header_get_via(RequestHeader *header); // Get "Via"
h3_request_header_get_warning(RequestHeader *header); // Get "Warning"
h3_request_header_get_accept_language(RequestHeader *header); // Get "Accept-Language"
h3_request_header_get_accept_ranges(RequestHeader *header); // Get "Accept-Ranges"
```
Low Level API
Expand Down

0 comments on commit c5f42b4

Please sign in to comment.