setStructCodec method
Enable the struct codec on this server: a call carrying HEADERS dc-codec: struct-v1 is decoded with the struct codec and answered in kind. A struct-v1 request to a server without it enabled fails Unimplemented, as does any other dc-codec value. Mirrors the Go Server.SetStructCodec.
Implementation
void setStructCodec(bool enabled) {
_structCodec = enabled;
}