GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include <stddef.h>
#include <grpc/support/time.h>
#include "src/core/lib/http/parser.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/iomgr/iomgr_internal.h"
#include "src/core/lib/iomgr/polling_entity.h"
#include "src/core/lib/iomgr/pollset_set.h"
Go to the source code of this file.
Data Structures | |
struct | grpc_httpcli_context |
struct | grpc_httpcli_handshaker |
struct | grpc_httpcli_request |
Macros | |
#define | GRPC_HTTPCLI_USER_AGENT "grpc-httpcli/0.0" |
Typedefs | |
typedef struct grpc_httpcli_context | grpc_httpcli_context |
typedef struct grpc_httpcli_request | grpc_httpcli_request |
typedef struct grpc_http_response | grpc_httpcli_response |
typedef int(* | grpc_httpcli_get_override) (const grpc_httpcli_request *request, grpc_millis deadline, grpc_closure *on_complete, grpc_httpcli_response *response) |
typedef int(* | grpc_httpcli_post_override) (const grpc_httpcli_request *request, const char *body_bytes, size_t body_size, grpc_millis deadline, grpc_closure *on_complete, grpc_httpcli_response *response) |
Functions | |
void | grpc_httpcli_context_init (grpc_httpcli_context *context) |
void | grpc_httpcli_context_destroy (grpc_httpcli_context *context) |
void | grpc_httpcli_get (grpc_httpcli_context *context, grpc_polling_entity *pollent, grpc_resource_quota *resource_quota, const grpc_httpcli_request *request, grpc_millis deadline, grpc_closure *on_done, grpc_httpcli_response *response) |
void | grpc_httpcli_post (grpc_httpcli_context *context, grpc_polling_entity *pollent, grpc_resource_quota *resource_quota, const grpc_httpcli_request *request, const char *body_bytes, size_t body_size, grpc_millis deadline, grpc_closure *on_done, grpc_httpcli_response *response) |
void | grpc_httpcli_set_override (grpc_httpcli_get_override get, grpc_httpcli_post_override post) |
Variables | |
const grpc_httpcli_handshaker | grpc_httpcli_plaintext |
const grpc_httpcli_handshaker | grpc_httpcli_ssl |
#define GRPC_HTTPCLI_USER_AGENT "grpc-httpcli/0.0" |
typedef struct grpc_httpcli_context grpc_httpcli_context |
typedef int(* grpc_httpcli_get_override) (const grpc_httpcli_request *request, grpc_millis deadline, grpc_closure *on_complete, grpc_httpcli_response *response) |
typedef int(* grpc_httpcli_post_override) (const grpc_httpcli_request *request, const char *body_bytes, size_t body_size, grpc_millis deadline, grpc_closure *on_complete, grpc_httpcli_response *response) |
typedef struct grpc_httpcli_request grpc_httpcli_request |
typedef struct grpc_http_response grpc_httpcli_response |
void grpc_httpcli_context_destroy | ( | grpc_httpcli_context * | context | ) |
void grpc_httpcli_context_init | ( | grpc_httpcli_context * | context | ) |
void grpc_httpcli_get | ( | grpc_httpcli_context * | context, |
grpc_polling_entity * | pollent, | ||
grpc_resource_quota * | resource_quota, | ||
const grpc_httpcli_request * | request, | ||
grpc_millis | deadline, | ||
grpc_closure * | on_done, | ||
grpc_httpcli_response * | response | ||
) |
void grpc_httpcli_post | ( | grpc_httpcli_context * | context, |
grpc_polling_entity * | pollent, | ||
grpc_resource_quota * | resource_quota, | ||
const grpc_httpcli_request * | request, | ||
const char * | body_bytes, | ||
size_t | body_size, | ||
grpc_millis | deadline, | ||
grpc_closure * | on_done, | ||
grpc_httpcli_response * | response | ||
) |
void grpc_httpcli_set_override | ( | grpc_httpcli_get_override | get, |
grpc_httpcli_post_override | post | ||
) |
|
extern |
|
extern |