<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/nw_framer_message_access_value(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "c:@F@nw_framer_message_access_value"
  },
  "title" : "nw_framer_message_access_value(_:_:_:)"
}
-->

# nw_framer_message_access_value(_:_:_:)

Accesses a custom value stored in a framer message.

```
func nw_framer_message_access_value(_ message: nw_framer_message_t, _ key: UnsafePointer<CChar>, _ access_value: (UnsafeRawPointer?) -> Bool) -> Bool
```

## Parameters

`message`

The message to inspect.

`key`

The custom key used to store the value.

`access_value`

A block that will deliver the pointer value stored for the key. The block will be called inline. Returns a value to return to the outer function.

## Return Value

Returns false if the key was not present, or else the boolean returned by the access block.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)