View Complete Thread
  • Re: Proper way for IIS8 nativemodule to close Websocket in C++?

    Apr 17, 2019 12:43 PM|svandex|LINK

    Hi, garykibble

    I followed steps in this link: https://blogs.iis.net/jennylaw/iis-and-websockets

    and I have got the IWebSocketContext pointer, but when i call ReadFragment/WriteFragment, the HRESULT is E_NOTIMPL, that means the two functions are not implemented. why happend that? do i have to set module context or do i have to do others steps before I call ReadFragment/WriteFragement?

    I write my code in OnEndRequest function. And I don't know how to make things work while i write my code in OnExcecuteRequestHandler, give me some examples?

    Hope you can help me, thanks.