in src/request.rs [240:250]
fn get_swoole_request_header(header: &ZArr) -> Option<String> {
if *SKYWALKING_VERSION >= 8 {
header
.get("sw8")
.and_then(|sw| sw.as_z_str())
.and_then(|zs| zs.to_str().ok())
.map(|s| s.to_string())
} else {
None
}
}