Expand description
Input validation utilities for the Geode client.
This module provides validation functions for user-supplied inputs to prevent injection attacks and ensure data integrity.
Constants§
- MAX_
HOSTNAME_ LENGTH - Maximum allowed hostname length
- MAX_
PARAM_ NAME_ LENGTH - Maximum allowed parameter name length
- MAX_
QUERY_ LENGTH - Maximum allowed query length in bytes
- MIN_
FRAME_ BYTES - Minimum allowed frame size in bytes
- MIN_
JSON_ DEPTH - Minimum allowed JSON depth
Functions§
- hostname
- Validate a hostname.
- max_
frame_ bytes - Validate a maximum frame size.
- max_
json_ depth - Validate maximum JSON depth.
- max_
pages - Validate a maximum pages limit.
- max_
rows - Validate a maximum rows limit.
- page_
size - Validate a page size.
- param_
name - Validate a parameter name.
- port
- Validate a port number.
- query
- Validate a GQL query string.