---
title: "mg_set_protocol_coap()"
decl_name: "mg_set_protocol_coap"
symbol_kind: "func"
signature: |
  int mg_set_protocol_coap(struct mg_connection *nc);
---

Set CoAP protocol handler - trigger CoAP specific events 

