httpparser

package
v0.9.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

README

Http Package Documentation

The http package encompasses the parser and mapping logic required to read HTTP text messages and capture or stub the outputs. Utilized by the hooks package, it aids in redirecting outgoing calls for the purpose of recording or stubbing the outputs.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Emoji = "\U0001F430" + " Keploy:"

Functions

func IsOutgoingHTTP

func IsOutgoingHTTP(buffer []byte) bool

IsOutgoingHTTP function determines if the outgoing network call is HTTP by comparing the message format with that of an HTTP text message.

func ProcessOutgoingHttp

func ProcessOutgoingHttp(requestBuffer []byte, clientConn, destConn net.Conn, h *hooks.Hook, logger *zap.Logger)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL