add something to print out a http PB

This commit is contained in:
Jeff Carr 2025-09-22 01:50:47 -05:00
parent 3306e3cbbc
commit 1905db1f6a
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,8 @@ package httppb
import (
"fmt"
"go.wit.com/log"
)
func (pb *HttpRequest) DumpRemoteAddr() string {
@ -21,6 +23,7 @@ func (pb *HttpRequest) DumpUserAgent() string {
// todo: convert this code
func (pb *HttpRequest) DumpClient() {
log.Infof("%s %s %s\n", pb.Host, pb.URL, pb.RemoteAddr)
/*
var host, url, proto, addr, agent string