Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBodySupported ¶
IsBodySupported checks if the body should be analyzed based on content type
func NewEncodable ¶
NewEncodable creates a new libddwaf.Encodable from an io.ReadCloser with a size limit It reads up to 'limit' bytes from the reader and returns an error if reading fails If the content is larger than 'limit', it will be truncated and the returned Encodable will have the truncated flag set to true The given reader is not closed by this function and is replaced by a new io.ReadCloser that reads the all the data as if this function had not been called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.