| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Public Attributes | List of all members
_http_upgrade_info_t Struct Reference

`#include <packet-http.h>`

## Public Attributes
const char *(* | get_header_value )(packet_info *, const char *, bool)
uint16_t | server_port
uint8_t | http_version
bool | from_server

## Detailed Description

Used for version-independent HTTP information for upgrade protocols

## Member Data Documentation

## ◆ from_server

bool _http_upgrade_info_t::from_server

Direction of the message

## ◆ get_header_value

const char *(* _http_upgrade_info_t::get_header_value) (packet_info *, const char *, bool)

Lookup header value

## ◆ http_version

uint8_t _http_upgrade_info_t::http_version

HTTP version (1, 2 or 3)

## ◆ server_port

uint16_t _http_upgrade_info_t::server_port

Server port. Can be used for protocol heuristics

The documentation for this struct was generated from the following file:

- /builds/wireshark/wireshark/epan/dissectors/packet-http.h