code property

int? code
final

A numerical code indicating the reason why the WebSocket was closed.

See RFC-6455 7.4 for guidance on how to interpret these codes.

Implementation

final int? code;