// Close is used to terminate our websocket client
Close is used to terminate our websocket client
// Close is used to terminate our websocket client
func (c *BlocknativeClient) close() error {
	err := c.conn.WriteMessage(
		websocket.CloseMessage,
		websocket.FormatCloseMessage(websocket.CloseNormalClosure, ""),
	)
	c.conn.Close()
	return err
}
func ( c * BlocknativeClient ) close ( ) error { err := c . conn . WriteMessage ( websocket . CloseMessage , websocket . FormatCloseMessage ( websocket . CloseNormalClosure , " " ) , ) c . conn . Close ( ) return err }
Close is used to terminate our websocket client
Close is used to terminate our websocket client