קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
gpg::ConnectionRequest
#include <nearby_connection_types.h>
בקשה ליצירת חיבור.
סיכום
מאפיינים ציבוריים
מטען ייעודי (payload)
std::vector< uint8_t > gpg::ConnectionRequest::payload
הודעה מותאמת אישית שנשלחה עם בקשת החיבור.
remote_endpoint_id
std::string gpg::ConnectionRequest::remote_endpoint_id
המזהה של נקודת הקצה המרוחקת שמבקשת חיבור.
remote_endpoint_name
std::string gpg::ConnectionRequest::remote_endpoint_name
השם של המכונה שמבקשת חיבור.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],null,["# gpg::ConnectionRequest Struct Reference\n\ngpg::ConnectionRequest\n======================\n\n`#include \u003cnearby_connection_types.h\u003e`\n\nA request to establish a connection.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [payload](#structgpg_1_1_connection_request_1a28023285a3a3aa00ff67567517ceafef) | `std::vector\u003c uint8_t \u003e` A custom message sent with the connection request. |\n| [remote_endpoint_id](#structgpg_1_1_connection_request_1a5255399171cda9c7aacd60eeec37b635) | `std::string` The ID of the remote endpoint that is requesting a connection. |\n| [remote_endpoint_name](#structgpg_1_1_connection_request_1ac4f4c3030d3649975e90b55fa53e3f69) | `std::string` The name of the instance that is requesting a connection. |\n\nPublic attributes\n-----------------\n\n### payload\n\n```c++\nstd::vector\u003c uint8_t \u003e gpg::ConnectionRequest::payload\n``` \nA custom message sent with the connection request. \n\n### remote_endpoint_id\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_id\n``` \nThe ID of the remote endpoint that is requesting a connection. \n\n### remote_endpoint_name\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_name\n``` \nThe name of the instance that is requesting a connection."]]