Skip to content

Commit

Permalink
feat: set FrameType.Text for .NET agent + explicitly set FrameType.Bi…
Browse files Browse the repository at this point in the history
…nary for Java agent
  • Loading branch information
RomanDavlyatshin committed Oct 4, 2023
1 parent 891e822 commit fbf35c2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ class AgentHandler(override val di: DI) : DIAware{
agentWebsocket("/agent/attach") {
val agentConfig = call.request.retrieveParams()
val frameType = when (agentConfig.agentType) {
AgentType.JAVA -> FrameType.BINARY

AgentType.DOTNET,
AgentType.NODEJS -> FrameType.TEXT

else -> FrameType.BINARY
}
val agentSession = AgentWsSession(
Expand Down

0 comments on commit fbf35c2

Please sign in to comment.