Apache HTTPD
h2_request.h
Go to the documentation of this file.
1/* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements. See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef __mod_h2__h2_request__
18#define __mod_h2__h2_request__
19
20#include "h2.h"
21
23 const char *scheme, const char *authority,
24 const char *path, apr_table_t *header);
25
27 request_rec *r);
28
30 const char *name, size_t nlen,
31 const char *value, size_t vlen,
32 size_t max_field_len, int *pwas_added);
33
35 const char *name, size_t nlen,
36 const char *value, size_t vlen);
37
39 size_t raw_bytes);
40
42
53 int no_body);
54
55#if AP_HAS_RESPONSE_BUCKETS
57#endif
58
59#endif /* defined(__mod_h2__h2_request__) */
request_rec int int apr_table_t const char * path
request_rec * r
const char * src
Definition apr_encode.h:167
apr_size_t size
const char int apr_pool_t * pool
Definition apr_cstr.h:84
const char * value
Definition apr_env.h:51
int apr_status_t
Definition apr_errno.h:44
apr_uint32_t apr_pool_t apr_uint32_t apr_pollset_method_e method
Definition apr_poll.h:195
apr_status_t h2_request_rcreate(h2_request **preq, apr_pool_t *pool, request_rec *r)
Definition h2_request.c:77
apr_status_t h2_request_add_header(h2_request *req, apr_pool_t *pool, const char *name, size_t nlen, const char *value, size_t vlen, size_t max_field_len, int *pwas_added)
Definition h2_request.c:134
h2_request * h2_request_create(int id, apr_pool_t *pool, const char *method, const char *scheme, const char *authority, const char *path, apr_table_t *header)
Definition h2_request.c:47
apr_status_t h2_request_end_headers(h2_request *req, apr_pool_t *pool, size_t raw_bytes)
Definition h2_request.c:194
apr_status_t h2_request_add_trailer(h2_request *req, apr_pool_t *pool, const char *name, size_t nlen, const char *value, size_t vlen)
h2_request * h2_request_clone(apr_pool_t *p, const h2_request *src)
Definition h2_request.c:216
request_rec * h2_create_request_rec(const h2_request *req, conn_rec *conn, int no_body)
Definition h2_request.c:370
apr_pool_t * p
Definition md_event.c:32
char * name
Structure to store things which are per connection.
Definition httpd.h:1152
A structure that represents the current request.
Definition httpd.h:845