session using gremlin.net

64 views
Skip to first unread message

Gajendra Salunkhe

unread,
Dec 13, 2019, 10:11:41 AM12/13/19
to Gremlin-users
Hi

Is there a way to create session using Gremlin.net package.


But don't know how to use it in .net core.

Thanks
gsalunkhe

Stephen Mallette

unread,
Dec 17, 2019, 7:04:50 AM12/17/19
to gremli...@googlegroups.com
we really don't promote the use of sessions as they are not the recommended way to generally build applications. they fit a narrow use case and for the most part, folks should stick to using bytecode based requests which are sessionless. as a result we really haven't focused on exposing APIs in the pure language variants like .NET. I guess you can still do it but you'd have to build your own RequestMessage, configured for a session, and submit that. I assume that Neptune would support that since they seem to support sessions in general. Here's the RequestMessage format you would need to use to do this:


--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/d5af4467-9bff-469a-ae4e-3b44e1017530%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages