gnutls_session...ption_requested(3)

πŸ’– gnutls_session_resumption_requested(3) πŸ’–

okay bestie so this is a page from the gnutls manual, and it's a lil baby one β€” literally one function, but it's a cute one, so let's go 🫢


✨ NAME ✨

gnutls_session_resumption_requested β€” an API function, yes ma'am πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

int gnutls_session_resumption_requested(gnutls_session_t session);

that's the whole vibe. two lines. iconic. ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie it's a gnutls_session_t type. that's it, that's the whole description. she's a session, that's the point πŸ’œ

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does she do? She checks whether the client has asked for session resumption. That's the whole job, no notes. πŸ’–

But wait β€” important caveat, do not skip this:

This function is valid only on server side. so if you're the client, this is not your moment, she's not for you. no cap. 😭

⭐ RETURNS ⭐

  • non zero β†’ yesss, session resumption was asked for πŸŽ‰
  • zero β†’ nope, not asked ✨

that's literally it. nonzero = yes, zero = no. simple math, slay. πŸ‘‘


🌈 REPORTING BUGS 🌈

found a bug? don't just sit there being sad about it, report it bestie:


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. fr fr, they're being so generous with it, we love to see it 🫢


πŸ’œ SEE ALSO πŸ’œ

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:

https://www.gnutls.org/manual/

iykyk, the manual is always there for you when you need her 🧚


and that's the whole page, bestie!! this was gnutls manual, version 3.8.13, and we ate, no crumbs left πŸ’…βœ¨πŸ“

gnutls 3.8.13 β€” gnutls_session_resumption_requested(3) πŸ’– bye babes πŸ¦‹

πŸ“¦ where this page comes from