GRPC C++  1.39.1
Functions
validate_metadata.cc File Reference
#include <grpc/support/port_platform.h>
#include <stdlib.h>
#include <string.h>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include "src/core/lib/gprpp/memory.h"
#include "src/core/lib/iomgr/error.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/slice/slice_string_helpers.h"
#include "src/core/lib/surface/validate_metadata.h"

Functions

grpc_error_handle grpc_validate_header_key_is_legal (const grpc_slice &slice)
 
int grpc_header_key_is_legal (grpc_slice slice)
 Check whether a metadata key is legal (will be accepted by core) More...
 
grpc_error_handle grpc_validate_header_nonbin_value_is_legal (const grpc_slice &slice)
 
int grpc_header_nonbin_value_is_legal (grpc_slice slice)
 Check whether a non-binary metadata value is legal (will be accepted by core) More...
 
int grpc_is_binary_header_internal (const grpc_slice &slice)
 
int grpc_is_binary_header (grpc_slice slice)
 Check whether a metadata key corresponds to a binary value. More...
 

Function Documentation

◆ grpc_header_key_is_legal()

int grpc_header_key_is_legal ( grpc_slice  slice)

Check whether a metadata key is legal (will be accepted by core)

◆ grpc_header_nonbin_value_is_legal()

int grpc_header_nonbin_value_is_legal ( grpc_slice  slice)

Check whether a non-binary metadata value is legal (will be accepted by core)

◆ grpc_is_binary_header()

int grpc_is_binary_header ( grpc_slice  slice)

Check whether a metadata key corresponds to a binary value.

◆ grpc_is_binary_header_internal()

int grpc_is_binary_header_internal ( const grpc_slice slice)

◆ grpc_validate_header_key_is_legal()

grpc_error_handle grpc_validate_header_key_is_legal ( const grpc_slice slice)

◆ grpc_validate_header_nonbin_value_is_legal()

grpc_error_handle grpc_validate_header_nonbin_value_is_legal ( const grpc_slice slice)