View Source Tds.Protocol.Header (Tds v2.3.1)
Link to this section Summary
Types
(Client to SQL server only) Reset the connection before processing event but do not modify the transaction state (the state will remain the same before and after the reset).
Header flag that should tell if package data that header preceding is end of TDS message or not.
Tuple that holds decoded package header status flags.
(Client to SQL server only) Reset this connection before processing event. Only set for event types Batch, RPC, or Transaction Manager request
Decoded TDS package header
Link to this section Types
Specs
conn_reset() :: :no_reset | :conn_reset | :conn_reset_skip_tran
(Client to SQL server only) Reset the connection before processing event but do not modify the transaction state (the state will remain the same before and after the reset).
Specs
msg_send_status() :: :normal | :eom
Header flag that should tell if package data that header preceding is end of TDS message or not.
:eom
- End of message (EOM). The packet is the last packet in the whole request/response.normal
- Normal message, means that there is more packages comming after the one that header is preceding.
Specs
pkg_header_status() :: {msg_send_status(), pkg_process(), conn_reset()}
Tuple that holds decoded package header status flags.
Specs
pkg_header_type() :: :sql_batch | :login | :rpc | :result | :attention | :bulk_data | :federation_token | :tm_request | :login7 | :sspi | :pre_login
Specs
pkg_process() :: :process | :ignore
(Client to SQL server only) Reset this connection before processing event. Only set for event types Batch, RPC, or Transaction Manager request
Specs
t() :: %Tds.Protocol.Header{ has_data?: any(), length: any(), package: any(), spid: any(), status: pkg_header_status(), type: pkg_header_type(), window: any() }
Decoded TDS package header