finish world initialization, set up init on startup and on shutdown, move all models to main directory
This commit is contained in:
@@ -32,16 +32,11 @@ func (tr *FoundryTransport) InitWebSocketConnection() error {
|
||||
dialer.ReadBufferSize = 128 * 1024 * 1024
|
||||
dialer.WriteBufferSize = 128 * 1024 * 1024
|
||||
|
||||
wsConn, resp, err := dialer.Dial(u.String(), wsHeader)
|
||||
wsConn, _, err := dialer.Dial(u.String(), wsHeader)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
cookies := resp.Cookies()
|
||||
for i := range cookies {
|
||||
fmt.Printf("TEST%d: %v\n", i, cookies[i])
|
||||
}
|
||||
|
||||
tr.WsConn = wsConn
|
||||
tr.CurrWsId = 0
|
||||
tr.Logger.Info("Successefully connected to Foundry Websocket")
|
||||
|
||||
Reference in New Issue
Block a user